From 1f962ebcdfa15cede59e9edb299d1330949eec92 Mon Sep 17 00:00:00 2001 From: Vaughan Cao Date: Thu, 29 Aug 2013 10:00:39 +0800 Subject: [PATCH] [SCSI] sg: push file descriptor list locking down to per-device locking Push file descriptor list locking down to per-device locking. Let sg_index_lock only protect device lookup. sdp->detached is also set and checked with this lock held. Signed-off-by: Vaughan Cao Acked-by: Douglas Gilbert Signed-off-by: James Bottomley --- Reading git-format-patch failed