diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-03-06 10:23:25 +0000 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-06-01 00:24:54 -0700 |
commit | 22793de590ca23a1e49b0ce5353911121fcc32be (patch) | |
tree | 173ccc678c6f936cae635bcf4c11a6886be10c8b /include | |
parent | 403edd78a2851ef95b24c0bf5151a4ab640898d7 (diff) | |
download | linux-stable-22793de590ca23a1e49b0ce5353911121fcc32be.tar.gz linux-stable-22793de590ca23a1e49b0ce5353911121fcc32be.tar.bz2 linux-stable-22793de590ca23a1e49b0ce5353911121fcc32be.zip |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions