From: Christoph Hellwig Date: Mon, 2 Feb 2015 13:01:24 +0000 (+0100) Subject: scsi: serialize ->rescan against ->remove X-Git-Tag: omap-for-v4.1/fixes-rc1~120^2~102 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e27829dc92e549486b8248cdfa53e108abb6acfb;p=pandora-kernel.git scsi: serialize ->rescan against ->remove Lock the device embedded in the scsi_device to protect against concurrent calls to ->remove. Signed-off-by: Christoph Hellwig Acked-by: Alan Stern Reviewed-by: Paolo Bonzini Reviewed-by: Hannes Reinecke Signed-off-by: James Bottomley --- Reading git-diff-tree failed