patch-2.3.4 linux/fs/block_dev.c
Next file: linux/fs/efs/.cvsignore
Previous file: linux/fs/binfmt_elf.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Fri May 28 09:20:31 1999
- Orig file:
v2.3.3/linux/fs/block_dev.c
- Orig date:
Fri Nov 13 10:07:26 1998
diff -u --recursive --new-file v2.3.3/linux/fs/block_dev.c linux/fs/block_dev.c
@@ -273,6 +273,8 @@
if (++bhe == &buflist[NBUF])
bhe = buflist;
} while (left > 0 && bhe != bhb && (!*bhe || !buffer_locked(*bhe)));
+ if (bhe == bhb && !blocks)
+ break;
} while (left > 0);
/* Release the read-ahead blocks */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)