patch-2.2.14 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: 10
- Date:
Tue Jan 4 10:12:23 2000
- Orig file:
v2.2.13/linux/fs/devices.c
- Orig date:
Wed Dec 23 11:39:49 1998
diff -u --recursive --new-file v2.2.13/linux/fs/devices.c linux/fs/devices.c
@@ -216,7 +216,8 @@
if (sb && invalidate_inodes(sb))
printk("VFS: busy inodes on changed media.\n");
- invalidate_buffers(dev);
+ /* special: trash all dirty data as well as the media is changed */
+ destroy_buffers(dev);
if (fops->revalidate)
fops->revalidate(dev);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)