patch-2.1.7 linux/fs/super.c
Next file: linux/include/asm-alpha/processor.h
Previous file: linux/fs/ncpfs/ncplib_kernel.h
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Wed Oct 30 01:58:50 1996
-  Orig file: 
v2.1.6/linux/fs/super.c
-  Orig date: 
Tue Oct 29 19:58:44 1996
diff -u --recursive --new-file v2.1.6/linux/fs/super.c linux/fs/super.c
@@ -146,6 +146,8 @@
 		if (vfsmnttail->mnt_dev == dev)
 			vfsmnttail = lptr;
 	}
+	if (tofree == mru_vfsmnt)
+		mru_vfsmnt = NULL;
 	kfree(tofree->mnt_devname);
 	kfree(tofree->mnt_dirname);
 	kfree_s(tofree, sizeof(struct vfsmount));
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov