git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SCSI] zfcp: Flush SCSI registration work when adding unit
[safe/jmp/linux-2.6]
/
drivers
/
s390
/
scsi
/
zfcp_sysfs.c
diff --git
a/drivers/s390/scsi/zfcp_sysfs.c
b/drivers/s390/scsi/zfcp_sysfs.c
index
079a8cf
..
d310008
100644
(file)
--- a/
drivers/s390/scsi/zfcp_sysfs.c
+++ b/
drivers/s390/scsi/zfcp_sysfs.c
@@
-224,6
+224,7
@@
static ssize_t zfcp_sysfs_unit_add_store(struct device *dev,
zfcp_erp_unit_reopen(unit, 0, "syuas_1", NULL);
zfcp_erp_wait(unit->port->adapter);
+ flush_work(&unit->scsi_work);
zfcp_unit_put(unit);
out:
mutex_unlock(&zfcp_data.config_mutex);