From: Vaughan Cao Date: Thu, 29 Aug 2013 02:00:39 +0000 (+0800) Subject: [SCSI] sg: push file descriptor list locking down to per-device locking X-Git-Tag: v3.12-rc1~180^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f962ebcdfa15cede59e9edb299d1330949eec92;p=pandora-kernel.git [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-diff-tree failed