patch-2.1.45 linux/fs/devices.c

Next file: linux/fs/dquot.c
Previous file: linux/fs/dcache.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.44/linux/fs/devices.c linux/fs/devices.c
@@ -209,9 +209,7 @@
 
 	printk(KERN_DEBUG "VFS: Disk change detected on device %s\n",
 		kdevname(dev));
-	for (i=0 ; i<NR_SUPER ; i++)
-		if (super_blocks[i].s_dev == dev)
-			put_super(super_blocks[i].s_dev);
+
 	invalidate_inodes(dev);
 	invalidate_buffers(dev);
 

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