]> git.baikalelectronics.ru Git - kernel.git/commit
target: Fix inverted logic in SE_DEV_ALUA_SUPPORT_STATE_STORE
authorSebastian Herbszt <herbszt@gmx.de>
Sun, 31 Aug 2014 22:17:53 +0000 (00:17 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 17 Sep 2014 18:06:52 +0000 (11:06 -0700)
commitd1c21479ae6f4755411aa6d0a58db3b955754a03
treee1888458984a067e286a5a7b4283c2356ca73214
parentf1e6e6705fb4d7d7fb6b7e92d4e6465b6ce42d93
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 5503fa82.

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

Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
Cc: <stable@vger.kernel.org> # v3.14+
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_configfs.c