mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
A typo making expression the opposite fixed. Reported by Bart Van Assche <bvanassche@acm.org>
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3184 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1314,7 +1314,7 @@ static void vdisk_exec_unmap(struct scst_cmd *cmd, struct scst_vdisk_thr *thr)
|
||||
|
||||
TRACE_ENTRY();
|
||||
|
||||
if (unlikely(virt_dev->thin_provisioned)) {
|
||||
if (unlikely(!virt_dev->thin_provisioned)) {
|
||||
TRACE_DBG("%s", "Invalid opcode UNMAP");
|
||||
scst_set_cmd_error(cmd,
|
||||
SCST_LOAD_SENSE(scst_sense_invalid_opcode));
|
||||
|
||||
Reference in New Issue
Block a user