diff options
author | Christof Schmitt <christof.schmitt@de.ibm.com> | 2009-11-24 10:54:04 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-12-04 13:02:06 -0500 |
commit | c1fad4176464281e776022dee7d029144afbeb13 (patch) | |
tree | c21502a9be5c0e500f4224565a054efbfa3d0254 /drivers/s390/scsi/zfcp_ext.h | |
parent | d9742b42b5c76e2a3a39de0d187fac4f6852134e (diff) |
[SCSI] zfcp: Implement module unloading
With the reference counting for zfcp data structures, it is now
possible to implement module unloading again. Module unloading
requires to free all data structures in the module exit function. This
is done by unregistering zfcp from s390 cio and the SCSI midlayer
first in the module exit function.
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 'drivers/s390/scsi/zfcp_ext.h')
-rw-r--r-- | drivers/s390/scsi/zfcp_ext.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/s390/scsi/zfcp_ext.h b/drivers/s390/scsi/zfcp_ext.h index 1e3ec708505b..5f205f85e6f9 100644 --- a/drivers/s390/scsi/zfcp_ext.h +++ b/drivers/s390/scsi/zfcp_ext.h | |||
@@ -27,7 +27,6 @@ extern void zfcp_adapter_release(struct kref *); | |||
27 | extern void zfcp_adapter_unregister(struct zfcp_adapter *); | 27 | extern void zfcp_adapter_unregister(struct zfcp_adapter *); |
28 | 28 | ||
29 | /* zfcp_ccw.c */ | 29 | /* zfcp_ccw.c */ |
30 | extern int zfcp_ccw_register(void); | ||
31 | extern int zfcp_ccw_priv_sch(struct zfcp_adapter *); | 30 | extern int zfcp_ccw_priv_sch(struct zfcp_adapter *); |
32 | extern struct ccw_driver zfcp_ccw_driver; | 31 | extern struct ccw_driver zfcp_ccw_driver; |
33 | extern struct zfcp_adapter *zfcp_ccw_adapter_by_cdev(struct ccw_device *); | 32 | extern struct zfcp_adapter *zfcp_ccw_adapter_by_cdev(struct ccw_device *); |