target: check DPO/FUA usage for COMPARE AND WRITE
authorDavid Disseldorp <ddiss@suse.de>
Thu, 23 Jul 2015 20:33:21 +0000 (22:33 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 31 Jul 2015 07:22:23 +0000 (00:22 -0700)
commitab81a5e0660a058c2cc728fc114fa3082be78952
tree3dcb29770448db7e1a68024cb5f72816c4d18eb3
parent915270c3cacfc80cb3fe7fdd8130439039a85bbb
target: check DPO/FUA usage for COMPARE AND WRITE

COMPARE AND WRITE requests should fail if DPO or FUA is set, but the
device is not advertising support.

Signed-off-by: David Disseldorp <ddiss@suse.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_sbc.c