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
- Lines: 20
- Date:
Wed Jul 23 10:29:42 1997
- Orig file:
v2.1.46/linux/fs/fat/inode.c
- Orig date:
Thu Jul 17 10:06:06 1997
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