diff options
author | Christoph Hellwig <hch@lst.de> | 2011-09-13 23:08:11 +0200 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-10-24 03:20:29 +0000 |
commit | 31afc39c0c93edec5a117371f1bd2a264cceafac (patch) | |
tree | 3dcf6671507fa2ffcb9f7df6b0820adcc04c247a /drivers/target | |
parent | 680b73c5f2fb60336707b53b2b2792d2c01b69dc (diff) | |
download | blackbird-op-linux-31afc39c0c93edec5a117371f1bd2a264cceafac.tar.gz blackbird-op-linux-31afc39c0c93edec5a117371f1bd2a264cceafac.zip |
target: don't opencode transport_release_cmd in transport_release_fe_cmd
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target')
-rw-r--r-- | drivers/target/target_core_transport.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c index f0f21bb28400..0c1d004548b1 100644 --- a/drivers/target/target_core_transport.c +++ b/drivers/target/target_core_transport.c @@ -3794,8 +3794,7 @@ static void transport_release_fe_cmd(struct se_cmd *cmd) transport_release_tasks(cmd); free_pages: transport_free_pages(cmd); - transport_free_se_cmd(cmd); - cmd->se_tfo->release_cmd(cmd); + transport_release_cmd(cmd); } static int |