patch-2.0.24 linux/fs/super.c
Next file: linux/include/asm-i386/pgtable.h
Previous file: linux/fs/proc/array.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Oct 30 01:58:59 1996
- Orig file:
v2.0.23/linux/fs/super.c
- Orig date:
Fri Sep 20 17:00:35 1996
diff -u --recursive --new-file v2.0.23/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