aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorNicholas Bellinger <[email protected]>2015-02-14 01:56:19 +0000
committerNicholas Bellinger <[email protected]>2015-02-14 02:54:40 +0000
commitd0a91295557666f9e58b79b5177a98229007803b (patch)
tree2a4dcb4c633d2d8b7ccd962abbc74f0193e69f61 /lib/string_helpers.c
parenttarget: Add sanity checks for DPO/FUA bit usage (diff)
downloadkernel-d0a91295557666f9e58b79b5177a98229007803b.tar.gz
kernel-d0a91295557666f9e58b79b5177a98229007803b.zip
target: Fail WRITE_SAME w/ UNMAP=1 when emulate_tpws=0
This patch adds a check within sbc_setup_write_same() to fail a WRITE_SAME w/ UNMAP=1 op, if the backend device has emulate_tpws disabled. Cc: Martin Petersen <[email protected]> Cc: Christoph Hellwig <[email protected]> Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions