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:
afd73f1
)
target: Add sanity checks for DPO/FUA bit usage
author
Nicholas Bellinger
<nab@linux-iscsi.org>
Fri, 13 Feb 2015 23:28:27 +0000
(23:28 +0000)
committer
Nicholas Bellinger
<nab@linux-iscsi.org>
Sat, 14 Feb 2015 02:09:46 +0000
(
02:09
+0000)
This patch adds a sbc_check_dpofua() function that performs sanity
checks for DPO/FUA command bits.
It introduces checks to fail when either bit is set, but the backend
device is not advertising support for them.
It also moves the existing cmd->se_cmd_flags |= SCF_FUA assignement
into the new helper function.
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_sbc.c
patch
|
blob
|
history
diff --cc
drivers/target/target_core_sbc.c
Simple merge