[SCSI] sg: completely protect sfds
authorJörn Engel <joern@logfs.org>
Wed, 25 Apr 2012 15:17:29 +0000 (11:17 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 17 May 2012 09:08:56 +0000 (10:08 +0100)
sfds is protected by sg_index_lock - except for sg_open(), where it
isn't.  Change that and add some documentation.

Signed-off-by: Joern Engel <joern@logfs.org>
Acked-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>

No differences found