]> git.karo-electronics.de Git - linux-beck.git/commit
target: consolidate and fix session shutdown
authorChristoph Hellwig <hch@lst.de>
Mon, 2 May 2016 13:45:19 +0000 (15:45 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 10 May 2016 08:19:03 +0000 (01:19 -0700)
commitbc6e6bb470eda42f44bcac96c261cff1216577b3
treeebb68cb7ae0c8479c7a2dcb3b3c6db5356f614e7
parent9730ffcb8957e1ce9e7d903f7a5db09038a9db8d
target: consolidate and fix session shutdown

Factor out a helper to shutdown sessions for a Node ACL, and make it
properly restart the list walk after dropping the lock.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_tpg.c