]> git.baikalelectronics.ru Git - kernel.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)
commit7cce0922401036892988fc55663324f2681175d3
tree8a0eb525e504a55305fa39a8dd1cb88982c22a08
parent2ac013ab3ea3f079bd73a3ed150057e1ba0ada77
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