Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312656
b: refs/heads/master
c: a3785c8
h: refs/heads/master
v: v3
  • Loading branch information
Nicholas Bellinger committed Jul 17, 2012
1 parent fa4aa18 commit 450be00
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 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: eba2ca450526c1aaf2bfd363dffd63b024e80ea7
refs/heads/master: a3785c8740c5b56b49ec336b59be996393d83332
12 changes: 3 additions & 9 deletions trunk/drivers/target/target_core_pscsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1061,18 +1061,12 @@ static int pscsi_parse_cdb(struct se_cmd *cmd)
pscsi_clear_cdb_lun(cdb);

/*
* For REPORT LUNS we always need to emulate the respone, and for everything
* related to persistent reservations and ALUA we might optionally use our
* handlers before passing on the command to the physical hardware.
* For REPORT LUNS we always need to emulate the response, for everything
* else the default for pSCSI is to pass the command to the underlying
* LLD / physical hardware.
*/
switch (cdb[0]) {
case REPORT_LUNS:
case PERSISTENT_RESERVE_IN:
case PERSISTENT_RESERVE_OUT:
case RELEASE:
case RELEASE_10:
case RESERVE:
case RESERVE_10:
ret = spc_parse_cdb(cmd, &dummy_size);
if (ret)
return ret;
Expand Down

0 comments on commit 450be00

Please sign in to comment.