diff options
author | Peter Oberparleiter <peter.oberparleiter@de.ibm.com> | 2006-02-20 18:28:13 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-20 20:00:12 -0800 |
commit | aa88861fc3184a7d830954661dd281de4ae8d2ba (patch) | |
tree | ac1ff810dd3b8426c727aba3ea57bb6381978f7d /drivers/s390/block/dasd_int.h | |
parent | 15c73691780252a5571bfa7902b4dc227ec66c84 (diff) | |
download | kernel_samsung_smdk4412-aa88861fc3184a7d830954661dd281de4ae8d2ba.zip kernel_samsung_smdk4412-aa88861fc3184a7d830954661dd281de4ae8d2ba.tar.gz kernel_samsung_smdk4412-aa88861fc3184a7d830954661dd281de4ae8d2ba.tar.bz2 |
[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 d1b08fa..5efac1b 100644 --- a/drivers/s390/block/dasd_int.h +++ b/drivers/s390/block/dasd_int.h @@ -321,6 +321,7 @@ struct dasd_device { /* Device discipline stuff. */ struct dasd_discipline *discipline; + struct dasd_discipline *base_discipline; char *private; /* Device state and target state. */ |