From: Bart Van Assche Date: Tue, 19 May 2015 14:16:01 +0000 (+0200) Subject: target: Simplify LUN shutdown code X-Git-Tag: omap-for-v4.2/fixes-rc1^2~8^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3eeea6619a0ed4f37138661c49339b21361d397;p=pandora-kernel.git 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 Reviewed-by: Christoph Hellwig Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed