commit | 22793de590ca23a1e49b0ce5353911121fcc32be | [log] [tgz] |
---|---|---|
author | Nicholas Bellinger <nab@linux-iscsi.org> | Fri Mar 06 10:23:25 2015 +0000 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Mon Jun 01 00:24:54 2015 -0700 |
tree | 173ccc678c6f936cae635bcf4c11a6886be10c8b | |
parent | 403edd78a2851ef95b24c0bf5151a4ab640898d7 [diff] |
target: Convert core_tpg_deregister to use list splice This patch converts core_tpg_deregister() to perform a list splice for any remaining dynamically generated se_node_acls attached to se_tpg, before calling kfree(nacl) to free memory. Reviewed-by: Hannes Reinecke <hare@suse.de> Cc: Christoph Hellwig <hch@lst.de> Cc: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>