Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b275bc3
)
Fix missing increment for multi-page I/O cleanup/verification, found by Eric.
author
adilger
<adilger>
Tue, 20 Aug 2002 17:09:54 +0000
(17:09 +0000)
committer
adilger
<adilger>
Tue, 20 Aug 2002 17:09:54 +0000
(17:09 +0000)
lustre/obdclass/class_obd.c
patch
|
blob
|
history
diff --git
a/lustre/obdclass/class_obd.c
b/lustre/obdclass/class_obd.c
index
a299cd4
..
0bac970
100644
(file)
--- a/
lustre/obdclass/class_obd.c
+++ b/
lustre/obdclass/class_obd.c
@@
-527,7
+527,7
@@
static int obd_class_ioctl (struct inode * inode, struct file * filp,
err = obd_brw(rw, &conn, &smd, j, pga, ll_sync_io_cb, cbd);
EXIT;
brw_cleanup:
- for (j = 0, pgp = pga; j < pages; j++) {
+ for (j = 0, pgp = pga; j < pages; j++
, pgp++
) {
if (pgp->pg != NULL) {
int err2;
void *addr = kmap(pgp->pg);