patch-2.1.43 linux/fs/ncpfs/mmap.c
Next file: linux/fs/nfs/dir.c
Previous file: linux/fs/ncpfs/inode.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/ncpfs/mmap.c
- Orig date:
Fri Apr 4 08:52:24 1997
diff -u --recursive --new-file v2.1.42/linux/fs/ncpfs/mmap.c linux/fs/ncpfs/mmap.c
@@ -133,7 +133,7 @@
inode->i_dirt = 1;
}
vma->vm_inode = inode;
- inode->i_count++;
+ atomic_inc(&inode->i_count);
vma->vm_ops = &ncp_file_mmap;
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov