commit | 61fdb4acc8411bf50589bc67431ad12e21e7678a | [log] [tgz] |
---|---|---|
author | Nicholas Bellinger <nab@linux-iscsi.org> | Sat Feb 14 02:29:50 2015 +0000 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Sat Feb 14 02:54:48 2015 +0000 |
tree | 632d2dced5bd55fa3026665a356c7e9ff20b483a | |
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>