patch-2.1.116 linux/fs/vfat/namei.c
Next file: linux/include/asm-alpha/apecs.h
Previous file: linux/fs/super.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun Aug 9 19:35:26 1998
- Orig file:
v2.1.115/linux/fs/vfat/namei.c
- Orig date:
Thu Jul 16 18:09:28 1998
diff -u --recursive --new-file v2.1.115/linux/fs/vfat/namei.c linux/fs/vfat/namei.c
@@ -1771,6 +1771,8 @@
MSDOS_I(new_inode)->i_logstart = MSDOS_I(old_inode)->i_logstart;
MSDOS_I(new_inode)->i_attrs = MSDOS_I(old_inode)->i_attrs;
+ old_inode->i_nlink = 0;
+
fat_cache_inval_inode(old_inode);
mark_inode_dirty(new_inode);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov