commit | d3df7825aed2e69e12732f9e32ef9093b01302d8 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Sep 13 23:08:32 2011 +0200 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Mon Oct 24 03:20:33 2011 +0000 |
tree | 582bb19c5eb961945beeae347000c6c4a8d7b896 | |
parent | 2dbc43d256c5371ebc294e3534620663eb80a5ce [diff] |
target: simplify transport_generic_remove Instead of duplicating the code from transport_release_fe_cmd re-use it by allowing transport_release_fe_cmd to return wether it actually freed the command or not. Also rename transport_release_fe_cmd to transport_put_cmd and add a kerneldoc comment for it to make the use case more obvious. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>