patch-2.1.43 linux/fs/fat/mmap.c
Next file: linux/fs/fifo.c
Previous file: linux/fs/fat/file.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu Jun 12 16:22:08 1997
- Orig file:
v2.1.42/linux/fs/fat/mmap.c
- Orig date:
Mon Oct 28 04:29:25 1996
diff -u --recursive --new-file v2.1.42/linux/fs/fat/mmap.c linux/fs/fat/mmap.c
@@ -105,7 +105,7 @@
}
vma->vm_inode = inode;
- inode->i_count++;
+ atomic_inc(&inode->i_count);
vma->vm_ops = &fat_file_mmap;
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov