patch-1.3.27 linux/fs/buffer.c
Next file: linux/fs/isofs/inode.c
Previous file: linux/drivers/char/tty_io.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Thu Sep 14 14:48:34 1995
- Orig file:
v1.3.26/linux/fs/buffer.c
- Orig date:
Sun Sep 3 12:27:00 1995
diff -u --recursive --new-file v1.3.26/linux/fs/buffer.c linux/fs/buffer.c
@@ -1042,7 +1042,7 @@
while (nrbuf-- > 0)
brelse(bh[nrbuf]);
free_page(address);
- ++current->mm->min_flt;
+ ++current->min_flt;
return page;
no_go:
while (nrbuf-- > 0)
@@ -1100,7 +1100,7 @@
read_buffers(arr,block);
while (block-- > 0)
brelse(arr[block]);
- ++current->mm->maj_flt;
+ ++current->maj_flt;
return address;
not_aligned:
while ((tmp = bh) != NULL) {
@@ -1154,7 +1154,7 @@
if (where)
return where;
}
- ++current->mm->maj_flt;
+ ++current->maj_flt;
for (i=0, j=0; j<PAGE_SIZE ; i++, j+= size) {
bh[i] = NULL;
if (b[i])
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