patch-2.3.43 linux/fs/super.c
Next file: linux/fs/sysv/Makefile
Previous file: linux/fs/stat.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Wed Feb 9 19:10:14 2000
- Orig file:
v2.3.42/linux/fs/super.c
- Orig date:
Fri Jan 28 15:09:09 2000
diff -u --recursive --new-file v2.3.42/linux/fs/super.c linux/fs/super.c
@@ -1378,7 +1378,10 @@
bdev = do_umount(old_root_dev,1, 0);
if (!IS_ERR(bdev)) {
printk("okay\n");
- invalidate_buffers(old_root_dev);
+ /* special: the old device driver is going to be
+ a ramdisk and the point of this call is to free its
+ protected memory (even if dirty). */
+ destroy_buffers(old_root_dev);
if (bdev) {
blkdev_put(bdev, BDEV_FS);
bdput(bdev);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)