diff options
author | 2010-07-16 15:37:35 +0200 | |
---|---|---|
committer | 2010-07-28 09:48:46 -0500 | |
commit | 1bf3ff02ca6247b2d7c9ebda93002392bf60a61d (patch) | |
tree | 569683190acd2ac3da8489bdcbd0f25f80c73b3e /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | [SCSI] zfcp: Use memdup_user and kstrdup (diff) | |
download | linux-dev-1bf3ff02ca6247b2d7c9ebda93002392bf60a61d.tar.xz linux-dev-1bf3ff02ca6247b2d7c9ebda93002392bf60a61d.zip |
[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 <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions