patch-2.1.48 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
- Lines: 11
- Date:
Thu Jul 31 14:54:33 1997
- Orig file:
v2.1.47/linux/fs/devices.c
- Orig date:
Thu Jul 17 10:06:06 1997
diff -u --recursive --new-file v2.1.47/linux/fs/devices.c linux/fs/devices.c
@@ -210,7 +210,9 @@
printk(KERN_DEBUG "VFS: Disk change detected on device %s\n",
kdevname(dev));
- invalidate_inodes(dev);
+ if (invalidate_inodes(dev))
+ printk("VFS: busy inodes on changed media..\n");
+
invalidate_buffers(dev);
if (fops->revalidate)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov