patch-2.1.48 linux/fs/super.c

Next file: linux/fs/ufs/ufs_namei.c
Previous file: linux/fs/romfs/inode.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.47/linux/fs/super.c linux/fs/super.c
@@ -618,6 +618,9 @@
 	d_umount(sb->s_root);
 	sb->s_root = NULL;
 
+	/* Forget any inodes */
+	invalidate_inodes(dev);
+
 	if (sb->s_op) {
 		if (sb->s_op->write_super && sb->s_dirt)
 			sb->s_op->write_super(sb);

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