diff options
Diffstat (limited to 'fs/devices.c')
-rw-r--r-- | fs/devices.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/devices.c b/fs/devices.c index 26f668e7f..db6c64d7f 100644 --- a/fs/devices.c +++ b/fs/devices.c @@ -210,7 +210,9 @@ int check_disk_change(kdev_t dev) 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) |