Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 292831
b: refs/heads/master
c: 2fbff12
h: refs/heads/master
i:
  292829: 555bc81
  292827: 973d310
  292823: cf1162b
  292815: f6c7183
  292799: 84fcff6
v: v3
  • Loading branch information
Nicholas Bellinger committed Feb 25, 2012
1 parent 91da4c5 commit 91412c2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 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: a1edf9cf6d1efed2981fcf6e4caa704fbb1bd093
refs/heads/master: 2fbff1276bb635294b3384b6c167f72d0acdab95
4 changes: 2 additions & 2 deletions trunk/drivers/target/target_core_transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ static int transport_generic_get_mem(struct se_cmd *cmd);
static void transport_put_cmd(struct se_cmd *cmd);
static void transport_remove_cmd_from_queue(struct se_cmd *cmd);
static int transport_set_sense_codes(struct se_cmd *cmd, u8 asc, u8 ascq);
static void transport_generic_request_failure(struct se_cmd *);
static void target_complete_ok_work(struct work_struct *work);

int init_se_kmem_caches(void)
Expand Down Expand Up @@ -1866,7 +1865,7 @@ static int transport_stop_tasks_for_cmd(struct se_cmd *cmd)
/*
* Handle SAM-esque emulation for generic transport request failures.
*/
static void transport_generic_request_failure(struct se_cmd *cmd)
void transport_generic_request_failure(struct se_cmd *cmd)
{
int ret = 0;

Expand Down Expand Up @@ -1958,6 +1957,7 @@ static void transport_generic_request_failure(struct se_cmd *cmd)
cmd->t_state = TRANSPORT_COMPLETE_QF_OK;
transport_handle_queue_full(cmd, cmd->se_dev);
}
EXPORT_SYMBOL(transport_generic_request_failure);

static inline u32 transport_lba_21(unsigned char *cdb)
{
Expand Down
1 change: 1 addition & 0 deletions trunk/include/target/target_core_fabric.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ int core_alua_check_nonop_delay(struct se_cmd *);
int core_tmr_alloc_req(struct se_cmd *, void *, u8, gfp_t);
void core_tmr_release_req(struct se_tmr_req *);
int transport_generic_handle_tmr(struct se_cmd *);
void transport_generic_request_failure(struct se_cmd *);
int transport_lookup_tmr_lun(struct se_cmd *, u32);

struct se_node_acl *core_tpg_check_initiator_node_acl(struct se_portal_group *,
Expand Down

0 comments on commit 91412c2

Please sign in to comment.