patch-2.2.0-pre1 linux/fs/buffer.c
Next file: linux/fs/dcache.c
Previous file: linux/fs/binfmt_misc.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Wed Dec 23 09:44:41 1998
- Orig file:
v2.1.132/linux/fs/buffer.c
- Orig date:
Tue Dec 22 14:16:57 1998
diff -u --recursive --new-file v2.1.132/linux/fs/buffer.c linux/fs/buffer.c
@@ -1836,7 +1836,8 @@
if (buffer_locked(bh) || !buffer_dirty(bh))
continue;
ndirty++;
- if(bh->b_flushtime > jiffies) continue;
+ if(time_before(jiffies, bh->b_flushtime))
+ continue;
nwritten++;
next->b_count++;
bh->b_count++;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov