patch-1.3.95 linux/fs/buffer.c
Next file: linux/fs/ext2/super.c
Previous file: linux/drivers/sound/ad1848.c
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Wed Apr 24 15:09:21 1996
- Orig file:
v1.3.94/linux/fs/buffer.c
- Orig date:
Wed Apr 17 09:06:32 1996
diff -u --recursive --new-file v1.3.94/linux/fs/buffer.c linux/fs/buffer.c
@@ -721,17 +721,11 @@
/* Too bad, that was not enough. Try a little harder to grow some. */
- if (nr_free_pages > min_free_pages + 5) {
- if (grow_buffers(GFP_BUFFER, size)) {
- needed -= PAGE_SIZE;
- goto repeat0;
- };
+ if (grow_buffers(GFP_ATOMIC, size)) {
+ needed -= PAGE_SIZE;
+ goto repeat0;
}
-
- /* and repeat until we find something good */
- if (!grow_buffers(GFP_ATOMIC, size))
- wakeup_bdflush(1);
- needed -= PAGE_SIZE;
+ wakeup_bdflush(1);
goto repeat0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this