Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361967
b: refs/heads/master
c: f85eda8
h: refs/heads/master
i:
  361965: 64aced1
  361963: f9f8763
  361959: 7281598
  361951: 2abce6c
v: v3
  • Loading branch information
Nicholas Bellinger committed Mar 29, 2013
1 parent 1764120 commit 94dba14
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5dade71050e799d8679698a6145e2ba46cdeac2a
refs/heads/master: f85eda8d75d37a3796cee7f5a906e50e3f13d9e1
4 changes: 3 additions & 1 deletion trunk/drivers/target/target_core_transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -1139,8 +1139,10 @@ target_setup_cmd_from_cdb(struct se_cmd *cmd, unsigned char *cdb)
return ret;

ret = target_check_reservation(cmd);
if (ret)
if (ret) {
cmd->scsi_status = SAM_STAT_RESERVATION_CONFLICT;
return ret;
}

ret = dev->transport->parse_cdb(cmd);
if (ret)
Expand Down

0 comments on commit 94dba14

Please sign in to comment.