patch-2.4.22 linux-2.4.22/fs/jfs/jfs_dtree.c
Next file: linux-2.4.22/fs/jfs/resize.c
Previous file: linux-2.4.22/fs/jffs2/write.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2003-08-25 04:44:43.000000000 -0700
- Orig file:
linux-2.4.21/fs/jfs/jfs_dtree.c
- Orig date:
2003-06-13 07:51:37.000000000 -0700
diff -urN linux-2.4.21/fs/jfs/jfs_dtree.c linux-2.4.22/fs/jfs/jfs_dtree.c
@@ -2908,7 +2908,7 @@
d->index = cpu_to_le32(add_index(tid, inode, bn, i));
if (dtlck->index >= dtlck->maxcnt)
dtlck = (struct dt_lock *) txLinelock(dtlck);
- lv = dtlck->lv;
+ lv = &dtlck->lv[dtlck->index];
lv->offset = stbl[i];
lv->length = 1;
dtlck->index++;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)