diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-10-17 13:56:49 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-10-24 03:21:46 +0000 |
commit | 4499dda85890e6726def812febaab5dc064cc920 (patch) | |
tree | 3b97ab6a88f58aa162a38f1e052e6655588553d0 /drivers/target/tcm_fc/tfc_cmd.c | |
parent | cc5d0f0f61645ca43d9a7320ec2f268bad5016c5 (diff) | |
download | blackbird-op-linux-4499dda85890e6726def812febaab5dc064cc920.tar.gz blackbird-op-linux-4499dda85890e6726def812febaab5dc064cc920.zip |
target: move depth_left manipulation out of transport_generic_request_failure
We only need to decrement dev->depth_left if failing a command from
__transport_execute_tasks. Instead of doing it first thing in
transport_generic_request_failure and requiring a pseudo-flag argument
for it just opencode the decrement in the two callers (which should
be factored into a single one anyway)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/tcm_fc/tfc_cmd.c')
0 files changed, 0 insertions, 0 deletions