[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
@@ -1341,7 +1341,7 @@ extern int fs_may_remount_ro(struct super_block *);
|
||||
|
||||
extern int check_disk_change(struct block_device *);
|
||||
extern int invalidate_inodes(struct super_block *);
|
||||
extern int __invalidate_device(struct block_device *, int);
|
||||
extern int __invalidate_device(struct block_device *);
|
||||
extern int invalidate_partition(struct gendisk *, int);
|
||||
unsigned long invalidate_mapping_pages(struct address_space *mapping,
|
||||
pgoff_t start, pgoff_t end);
|
||||
|
Reference in New Issue
Block a user