From: Christof Schmitt Date: Fri, 16 Jul 2010 13:37:35 +0000 (+0200) Subject: [SCSI] zfcp: Remove SCSI device when removing unit X-Git-Tag: v2.6.36-rc1~570^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bf3ff02ca6247b2d7c9ebda93002392bf60a61d;p=pandora-kernel.git [SCSI] zfcp: Remove SCSI device when removing unit Configuring a LUN in zfcp, also creates a SCSI device. For consistency, it makes sense to remove the SCSI device when the LUN is deconfigured. Replace the flush_work with the call to scsi_remove_device: scsi_remove_device also takes the scan_mutex that synchronizes itself with any long running device discovery. Reviewed-by: Swen Schillig Signed-off-by: Christof Schmitt Signed-off-by: James Bottomley --- Reading git-diff-tree failed