]> git.karo-electronics.de Git - karo-tx-linux.git/commit
target: Fix incorrect inversion of TPGS_EXPLICT_ALUA check
authorNicholas Bellinger <nab@linux-iscsi.org>
Tue, 6 Nov 2012 20:36:12 +0000 (12:36 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 7 Nov 2012 04:55:46 +0000 (20:55 -0800)
commita2e85d18146857ffddea4dfe3b245055af8e3db3
tree8a0eb525e504a55305fa39a8dd1cb88982c22a08
parentde103c93aff0bed0ae984274e5dc8b95899badab
target: Fix incorrect inversion of TPGS_EXPLICT_ALUA check

Fix a bug introduced with patch "target: pass sense_reason as a return value"
in for-3.8 code where only target port groups with TPGS_EXPLICT_ALUA set
need to be allowed to perform explictly ALUA.

Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_alua.c