commit | b3eeea6619a0ed4f37138661c49339b21361d397 | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bart.vanassche@sandisk.com> | Tue May 19 16:16:01 2015 +0200 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Mon Jun 01 00:25:39 2015 -0700 |
tree | 68236615b4ab4ac9f3644f244aab35d6077b58a5 | |
parent | 3effdb9094fd06b9c61ecef08d610ae90805fd98 [diff] |
target: Simplify LUN shutdown code Instead of starting a thread from transport_clear_lun_ref() that waits for LUN shutdown, wait in that function for LUN shutdown to finish. Additionally, change the return type of transport_clear_lun_ref() from int to void. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>