[PATCH] remove do_sync parameter from __invalidate_device
The only caller that ever sets it can call fsync_bdev itself easily. Also update some comments. Signed-off-by: Christoph Hellwig <hch@lst.de> Cc: <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
91bb524168
commit
2ef41634de
@@ -530,7 +530,7 @@ int check_disk_change(struct block_device *bdev)
|
||||
if (!bdops->media_changed(bdev->bd_disk))
|
||||
return 0;
|
||||
|
||||
if (__invalidate_device(bdev, 0))
|
||||
if (__invalidate_device(bdev))
|
||||
printk("VFS: busy inodes on changed media.\n");
|
||||
|
||||
if (bdops->revalidate_disk)
|
||||
|
Reference in New Issue
Block a user