diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-02-14 02:29:50 +0000 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-02-14 02:54:48 +0000 |
commit | 61fdb4acc8411bf50589bc67431ad12e21e7678a (patch) | |
tree | 632d2dced5bd55fa3026665a356c7e9ff20b483a /drivers/vhost/scsi.c | |
parent | d0a91295557666f9e58b79b5177a98229007803b (diff) |
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 <martin.petersen@oracle.com>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/vhost/scsi.c')
0 files changed, 0 insertions, 0 deletions