patch-2.4.0-test2 linux/fs/hfs/inode.c
Next file: linux/fs/hpfs/inode.c
Previous file: linux/fs/filesystems.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Jun 21 07:25:17 2000
- Orig file:
v2.4.0-test1/linux/fs/hfs/inode.c
- Orig date:
Thu May 11 15:30:08 2000
diff -u --recursive --new-file v2.4.0-test1/linux/fs/hfs/inode.c linux/fs/hfs/inode.c
@@ -80,7 +80,7 @@
struct hfs_cat_entry *entry = HFS_I(inode)->entry;
hfs_cat_put(entry);
- if (inode->i_count == 1) {
+ if (atomic_read(&inode->i_count) == 1) {
struct hfs_hdr_layout *tmp = HFS_I(inode)->layout;
if (tmp) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)