patch-2.1.34 linux/fs/romfs/inode.c
Next file: linux/fs/super.c
Previous file: linux/fs/proc/openpromfs.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Apr 14 09:31:09 1997
- Orig file:
v2.1.33/linux/fs/romfs/inode.c
- Orig date:
Sun Jan 26 02:07:45 1997
diff -u --recursive --new-file v2.1.33/linux/fs/romfs/inode.c linux/fs/romfs/inode.c
@@ -373,7 +373,7 @@
int result = -EIO;
buf = page_address(page);
- page->count++;
+ atomic_inc(&page->count);
offset = page->offset;
if (offset < inode->i_size) {
avail = inode->i_size-offset;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov