patch-2.1.47 linux/fs/fat/inode.c

Next file: linux/fs/fat/misc.c
Previous file: linux/fs/dcache.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.46/linux/fs/fat/inode.c linux/fs/fat/inode.c
@@ -44,8 +44,18 @@
 			MSDOS_I(inode)->i_linked = NULL;
 		}
 		if (MSDOS_I(inode)->i_busy) fat_cache_inval_inode(inode);
-		return;
 	}
+}
+
+void fat_delete_inode(struct inode *inode)
+{
+	struct inode *depend, *linked;
+	struct super_block *sb;
+
+	depend = MSDOS_I(inode)->i_depend;
+	linked = MSDOS_I(inode)->i_linked;
+	sb = inode->i_sb;
+
 	inode->i_size = 0;
 	fat_truncate(inode);
 	if (depend) {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov