target: push session reinstatement out of transport_generic_free_cmd
authorChristoph Hellwig <hch@lst.de>
Tue, 13 Sep 2011 21:09:01 +0000 (23:09 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 24 Oct 2011 03:20:38 +0000 (03:20 +0000)
commit82f1c8a4e7739eae9f1c32c2c419efdc19b8af41
treee4b9141c59cbc1402b96fb34003205fe90d362df
parente6a2573f1f5d66f0456c433afdfc63f33fdf9008
target: push session reinstatement out of transport_generic_free_cmd

Push session reinstatement out of transport_generic_free_cmd into the only
caller that actually needs it.  Clean up transport_generic_free_cmd a bit,
and remove the useless comment.  I'd love to add a more useful kerneldoc
comment for it, but as this point I'm still a bit confused in where it
stands in the command release stack.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target.c
drivers/target/loopback/tcm_loop.c
drivers/target/target_core_transport.c
drivers/target/tcm_fc/tfc_cmd.c
include/target/target_core_transport.h