git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
drivers
/
s390
/
block
/
dasd_fba.c
diff --git
a/drivers/s390/block/dasd_fba.c
b/drivers/s390/block/dasd_fba.c
index
8116381
..
35b8f37
100644
(file)
--- a/
drivers/s390/block/dasd_fba.c
+++ b/
drivers/s390/block/dasd_fba.c
@@
-4,7
+4,7
@@
* Bugreports.to..: <Linux390@de.ibm.com>
* (C) IBM Corporation, IBM Deutschland Entwicklung GmbH, 1999,2000
*
* Bugreports.to..: <Linux390@de.ibm.com>
* (C) IBM Corporation, IBM Deutschland Entwicklung GmbH, 1999,2000
*
- * $Revision: 1.3
4
$
+ * $Revision: 1.3
3
$
*/
#include <linux/config.h>
*/
#include <linux/config.h>
@@
-270,8
+270,8
@@
dasd_fba_build_cp(struct dasd_device * device, struct request *req)
return ERR_PTR(-EINVAL);
count += bv->bv_len >> (device->s2b_shift + 9);
#if defined(CONFIG_ARCH_S390X)
return ERR_PTR(-EINVAL);
count += bv->bv_len >> (device->s2b_shift + 9);
#if defined(CONFIG_ARCH_S390X)
- if (idal_is_needed (page_address(bv->bv_page), bv->bv_len))
-
cidaw += bv->bv_len / blksize
;
+ cidaw += idal_nr_words(page_address(bv->bv_page) +
+
bv->bv_offset, bv->bv_len)
;
#endif
}
}
#endif
}
}