patch-2.1.73 linux/fs/fat/inode.c
Next file: linux/fs/isofs/dir.c
Previous file: linux/fs/ext2/fsync.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Wed Dec 10 09:13:24 1997
- Orig file:
v2.1.72/linux/fs/fat/inode.c
- Orig date:
Wed Nov 12 13:34:27 1997
diff -u --recursive --new-file v2.1.72/linux/fs/fat/inode.c linux/fs/fat/inode.c
@@ -117,6 +117,16 @@
void fat_delete_inode(struct inode *inode)
{
+ /*
+ * Make sure there are no active dependencies ...
+ */
+ if (MSDOS_I(inode)->i_old)
+ printk("fat_delete_inode: inode %ld, old=%p??\n",
+ inode->i_ino, MSDOS_I(inode)->i_old);
+ if (MSDOS_I(inode)->i_oldlink)
+ printk("fat_delete_inode: inode %ld, oldlink=%p??\n",
+ inode->i_ino, MSDOS_I(inode)->i_oldlink);
+
fat_cache_inval_inode(inode);
inode->i_size = 0;
fat_truncate(inode);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov