Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344743
b: refs/heads/master
c: 1920ed6
h: refs/heads/master
i:
  344741: b232c17
  344739: 3f7b4b0
  344735: 4afc4c1
v: v3
  • Loading branch information
Nicholas Bellinger committed Nov 8, 2012
1 parent f1c45f4 commit 7977a39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 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: 314da1aa57c3f2be8a07f3d944a541b595e8cb7d
refs/heads/master: 1920ed61fbbbb38919edfb2427b0b1fd4e4ad8d9
10 changes: 2 additions & 8 deletions trunk/drivers/target/target_core_sbc.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,7 @@ int spc_get_write_same_sectors(struct se_cmd *cmd)
EXPORT_SYMBOL(spc_get_write_same_sectors);

static sense_reason_t
sbc_emulate_verify(struct se_cmd *cmd)
{
target_complete_cmd(cmd, GOOD);
return 0;
}

static int sbc_emulate_noop(struct se_cmd *cmd)
sbc_emulate_noop(struct se_cmd *cmd)
{
target_complete_cmd(cmd, GOOD);
return 0;
Expand Down Expand Up @@ -540,7 +534,7 @@ sbc_parse_cdb(struct se_cmd *cmd, struct sbc_ops *ops)
break;
case VERIFY:
size = 0;
cmd->execute_cmd = sbc_emulate_verify;
cmd->execute_cmd = sbc_emulate_noop;
break;
case REZERO_UNIT:
case SEEK_6:
Expand Down

0 comments on commit 7977a39

Please sign in to comment.