target: Fix inverted logic in SE_DEV_ALUA_SUPPORT_STATE_STORE
authorSebastian Herbszt <[email protected]>
Sun, 31 Aug 2014 22:17:53 +0000 (00:17 +0200)
committerNicholas Bellinger <[email protected]>
Wed, 17 Sep 2014 18:06:52 +0000 (11:06 -0700)
commit1f0b030c45c781f9fe568e5e2a813d6c8567a051
treee1888458984a067e286a5a7b4283c2356ca73214
parent096b49951712291824e9f9358a0c46417011098e
target: Fix inverted logic in SE_DEV_ALUA_SUPPORT_STATE_STORE

Fix inverted logic in SE_DEV_ALUA_SUPPORT_STATE_STORE for setting
the supported ALUA access states via configfs, originally introduced
in commit b0a382c5.

A value of 1 should enable the support, not disable it.

Signed-off-by: Sebastian Herbszt <[email protected]>
Cc: <[email protected]> # v3.14+
Signed-off-by: Nicholas Bellinger <[email protected]>
drivers/target/target_core_configfs.c