removed extra extern file_fdatawait_range
PATCH 1/1 removed extra extern file_fdatawait_range
Jeff added this extern twice in commit a823e4589e68
Fixes a823e4589e68 ("mm: add file_fdatawait_range and file_write_and_wait")
Signed-off-by Vasily Averin <[email protected]>
--- include/linux/fs.h | 2 -- 1 file changed, 2 deletions(-)
include/linux/fs.h +0 -2
@@ -2602,8 +2602,6 @@ static inline int filemap_fdatawait(struct address_space *mapping)extern bool filemap_range_has_page (struct address_space *,loff_t lstart,loff_t lend); -extern int __must_check file_fdatawait_range (struct file *file,loff_t lstart, -loff_t lend);extern int filemap_write_and_wait (struct address_space *mapping);extern int filemap_write_and_wait_range (struct address_space *mapping,loff_t lstart,loff_t lend);
Signature · 1 line
2.7.4
Quoted 13 lines · Vasily Averin
Jeff added this extern twice in commit
a823e4589e68Fixes a823e4589e68 ("mm: add file_fdatawait_range and file_write_and_wait")Signed-off-by Vasily Averin <[email protected]>--- include/linux/fs.h | 2 -- 1 file changed, 2 deletions(-)include/linux/fs.h +0
-0
include/linux/fs.h static inline int filemap_fdatawait(struct address_space *mapping) · line 2607
Quoted 8 lines
include/linux/fs.h +0
-2@@ -2602,8 +2602,6 @@ static inline int filemap_fdatawait(struct address_space *mapping)extern bool filemap_range_has_page (struct address_space *,loff_t lstart,loff_t lend); -extern int __must_check file_fdatawait_range (struct file *file,loff_t lstart, -loff_t lend);extern int filemap_write_and_wait (struct address_space *mapping);extern int filemap_write_and_wait_range (struct address_space *mapping,loff_t lstart,loff_t lend);
Doh! Good catch.
Reviewed-by Jeff Layton <[email protected]>