mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 01:51:34 +00:00
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>
This commit is contained in:
parent
680b73c5f2
commit
31afc39c0c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user