diff options
author | Peter Oberparleiter <peter.oberparleiter@de.ibm.com> | 2006-02-20 21:28:13 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-20 23:00:12 -0500 |
commit | aa88861fc3184a7d830954661dd281de4ae8d2ba (patch) | |
tree | ac1ff810dd3b8426c727aba3ea57bb6381978f7d /drivers/s390/block/dasd_int.h | |
parent | 15c73691780252a5571bfa7902b4dc227ec66c84 (diff) |
[PATCH] s390: dasd reference counting
When using the dasd diag discipline, the base discipline module (eckd or fba)
can be unloaded, even though the dasd driver requires both discipline modules
(base and diag) to work correctly.
Implement reference counting for both base and diag discipline modules in
order to fix this.
Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/s390/block/dasd_int.h')
-rw-r--r-- | drivers/s390/block/dasd_int.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/block/dasd_int.h b/drivers/s390/block/dasd_int.h index d1b08fa13fd2..5efac1b97ece 100644 --- a/drivers/s390/block/dasd_int.h +++ b/drivers/s390/block/dasd_int.h | |||
@@ -321,6 +321,7 @@ struct dasd_device { | |||
321 | 321 | ||
322 | /* Device discipline stuff. */ | 322 | /* Device discipline stuff. */ |
323 | struct dasd_discipline *discipline; | 323 | struct dasd_discipline *discipline; |
324 | struct dasd_discipline *base_discipline; | ||
324 | char *private; | 325 | char *private; |
325 | 326 | ||
326 | /* Device state and target state. */ | 327 | /* Device state and target state. */ |