git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3bb467
)
target: Make TCM_WRITE_PROTECT failure honor D_SENSE bit
author
Nicholas Bellinger
<nab@linux-iscsi.org>
Thu, 17 Sep 2015 03:23:53 +0000
(20:23 -0700)
committer
Nicholas Bellinger
<nab@linux-iscsi.org>
Fri, 25 Sep 2015 06:17:27 +0000
(23:17 -0700)
This patch changes transport_lookup_cmd_lun() to obtain
se_lun->lun_ref + se_cmd->se_device rcu_dereference during
TCM_WRITE_PROTECT -> CHECK_CONDITION failure status.
Do this to ensure the active control D_SENSE mode page bit
is being honored.
Reported-by: Sagi Grimberg <sagig@mellanox.com>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_device.c
patch
|
blob
|
history
diff --cc
drivers/target/target_core_device.c
Simple merge