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

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