diff options
Diffstat (limited to 'drivers/s390/block')
-rw-r--r-- | drivers/s390/block/dasd.c | 6 | ||||
-rw-r--r-- | drivers/s390/block/dasd_fba.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/drivers/s390/block/dasd.c b/drivers/s390/block/dasd.c index 6527ff6f4706..d5f53980749b 100644 --- a/drivers/s390/block/dasd.c +++ b/drivers/s390/block/dasd.c | |||
@@ -7,7 +7,7 @@ | |||
7 | * Bugreports.to..: <Linux390@de.ibm.com> | 7 | * Bugreports.to..: <Linux390@de.ibm.com> |
8 | * (C) IBM Corporation, IBM Deutschland Entwicklung GmbH, 1999-2001 | 8 | * (C) IBM Corporation, IBM Deutschland Entwicklung GmbH, 1999-2001 |
9 | * | 9 | * |
10 | * $Revision: 1.164 $ | 10 | * $Revision: 1.165 $ |
11 | */ | 11 | */ |
12 | 12 | ||
13 | #include <linux/config.h> | 13 | #include <linux/config.h> |
@@ -1740,6 +1740,10 @@ dasd_exit(void) | |||
1740 | dasd_proc_exit(); | 1740 | dasd_proc_exit(); |
1741 | #endif | 1741 | #endif |
1742 | dasd_ioctl_exit(); | 1742 | dasd_ioctl_exit(); |
1743 | if (dasd_page_cache != NULL) { | ||
1744 | kmem_cache_destroy(dasd_page_cache); | ||
1745 | dasd_page_cache = NULL; | ||
1746 | } | ||
1743 | dasd_gendisk_exit(); | 1747 | dasd_gendisk_exit(); |
1744 | dasd_devmap_exit(); | 1748 | dasd_devmap_exit(); |
1745 | devfs_remove("dasd"); | 1749 | devfs_remove("dasd"); |
diff --git a/drivers/s390/block/dasd_fba.c b/drivers/s390/block/dasd_fba.c index 7963ae343eef..28cb4613b7f5 100644 --- a/drivers/s390/block/dasd_fba.c +++ b/drivers/s390/block/dasd_fba.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * Bugreports.to..: <Linux390@de.ibm.com> | 4 | * Bugreports.to..: <Linux390@de.ibm.com> |
5 | * (C) IBM Corporation, IBM Deutschland Entwicklung GmbH, 1999,2000 | 5 | * (C) IBM Corporation, IBM Deutschland Entwicklung GmbH, 1999,2000 |
6 | * | 6 | * |
7 | * $Revision: 1.39 $ | 7 | * $Revision: 1.40 $ |
8 | */ | 8 | */ |
9 | 9 | ||
10 | #include <linux/config.h> | 10 | #include <linux/config.h> |
@@ -354,6 +354,8 @@ dasd_fba_build_cp(struct dasd_device * device, struct request *req) | |||
354 | } | 354 | } |
355 | cqr->device = device; | 355 | cqr->device = device; |
356 | cqr->expires = 5 * 60 * HZ; /* 5 minutes */ | 356 | cqr->expires = 5 * 60 * HZ; /* 5 minutes */ |
357 | cqr->retries = 32; | ||
358 | cqr->buildclk = get_clock(); | ||
357 | cqr->status = DASD_CQR_FILLED; | 359 | cqr->status = DASD_CQR_FILLED; |
358 | return cqr; | 360 | return cqr; |
359 | } | 361 | } |