scsi_debug: take sdebug_host_list_lock when changing capacity
authorEwan D. Milne <emilne@redhat.com>
Thu, 4 Dec 2014 16:49:26 +0000 (11:49 -0500)
committerChristoph Hellwig <hch@lst.de>
Mon, 15 Dec 2014 12:34:26 +0000 (13:34 +0100)
All other traversals of the sdebug_host_list take the lock.

Signed-off-by: Ewan D. Milne <emilne@redhat.com>
Acked-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>

No differences found