diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-02-14 02:56:19 +0100 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-02-14 03:54:40 +0100 |
commit | d0a91295557666f9e58b79b5177a98229007803b (patch) | |
tree | 2a4dcb4c633d2d8b7ccd962abbc74f0193e69f61 /drivers/base/soc.c | |
parent | target: Add sanity checks for DPO/FUA bit usage (diff) | |
download | linux-d0a91295557666f9e58b79b5177a98229007803b.tar.xz linux-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 <martin.petersen@oracle.com>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/base/soc.c')
0 files changed, 0 insertions, 0 deletions