patch-2.1.43 linux/fs/smbfs/mmap.c
Next file: linux/fs/stat.c
Previous file: linux/fs/smbfs/inode.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu Jun 12 16:22:09 1997
- Orig file:
v2.1.42/linux/fs/smbfs/mmap.c
- Orig date:
Sun Dec 1 08:26:22 1996
diff -u --recursive --new-file v2.1.42/linux/fs/smbfs/mmap.c linux/fs/smbfs/mmap.c
@@ -120,7 +120,7 @@
inode->i_dirt = 1;
}
vma->vm_inode = inode;
- inode->i_count++;
+ atomic_inc(&inode->i_count);
vma->vm_ops = &smb_file_mmap;
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov