patch-2.1.89 linux/fs/ntfs/fs.c
Next file: linux/fs/ntfs/inode.c
Previous file: linux/fs/nfs/write.c
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
Tue Feb 24 23:24:00 1998
- Orig file:
v2.1.88/linux/fs/ntfs/fs.c
- Orig date:
Fri Jan 23 18:10:32 1998
diff -u --recursive --new-file v2.1.88/linux/fs/ntfs/fs.c linux/fs/ntfs/fs.c
@@ -668,7 +668,11 @@
static void ntfs_put_inode(struct inode *ino)
{
- ntfs_debug(DEBUG_OTHER, "ntfs_put_inode %lx\n",ino->i_ino);
+}
+
+static void _ntfs_clear_inode(struct inode *ino)
+{
+ ntfs_debug(DEBUG_OTHER, "ntfs_clear_inode %lx\n",ino->i_ino);
#ifdef NTFS_IN_LINUX_KERNEL
if(ino->i_ino!=FILE_MFT)
ntfs_clear_inode(&ino->u.ntfs_i);
@@ -680,7 +684,7 @@
ino->u.generic_ip=0;
}
#endif
- clear_inode(ino);
+ return;
}
/* Called when umounting a filesystem by do_umount() in fs/super.c */
@@ -753,6 +757,7 @@
NULL, /* write_super */
ntfs_statfs,
ntfs_remount_fs, /* remount */
+ _ntfs_clear_inode, /* clear_inode */
};
/* Called to mount a filesystem by read_super() in fs/super.c
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov