aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorNicholas Bellinger <[email protected]>2015-02-14 02:29:50 +0000
committerNicholas Bellinger <[email protected]>2015-02-14 02:54:48 +0000
commit61fdb4acc8411bf50589bc67431ad12e21e7678a (patch)
tree632d2dced5bd55fa3026665a356c7e9ff20b483a /lib/string_helpers.c
parenttarget: Fail WRITE_SAME w/ UNMAP=1 when emulate_tpws=0 (diff)
downloadkernel-61fdb4acc8411bf50589bc67431ad12e21e7678a.tar.gz
kernel-61fdb4acc8411bf50589bc67431ad12e21e7678a.zip
target: Fail UNMAP when emulate_tpu=0
This patch adds a check within sbc_parse_cdb() to fail a UNMAP op, if the backend device has emulate_tpu 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