diff options
author | Stefan Haberland <stefan.haberland@de.ibm.com> | 2008-04-17 07:46:04 +0200 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-04-17 07:46:58 +0200 |
commit | 00966c0a5b00bc0afdc0bd0446adec271f8b098b (patch) | |
tree | c6144b97f0aade3ce04cc2b6db3d5fddb18f789c /drivers/s390/block/dasd_fba.c | |
parent | 35b58b028dfc99dd390a09f66945947c4945fa64 (diff) | |
download | op-kernel-dev-00966c0a5b00bc0afdc0bd0446adec271f8b098b.zip op-kernel-dev-00966c0a5b00bc0afdc0bd0446adec271f8b098b.tar.gz |
[S390] dasd: use GFP_DMA for fba private data allocation
allocating dasd_fba_private without GFP_DMA results in IO error
during read device characteristics of a FBA disk
Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'drivers/s390/block/dasd_fba.c')
-rw-r--r-- | drivers/s390/block/dasd_fba.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/s390/block/dasd_fba.c b/drivers/s390/block/dasd_fba.c index d13ea05..1166115 100644 --- a/drivers/s390/block/dasd_fba.c +++ b/drivers/s390/block/dasd_fba.c @@ -125,7 +125,8 @@ dasd_fba_check_characteristics(struct dasd_device *device) private = (struct dasd_fba_private *) device->private; if (private == NULL) { - private = kzalloc(sizeof(struct dasd_fba_private), GFP_KERNEL); + private = kzalloc(sizeof(struct dasd_fba_private), + GFP_KERNEL | GFP_DMA); if (private == NULL) { DEV_MESSAGE(KERN_WARNING, device, "%s", "memory allocation failed for private " |