diff mbox

removed extra extern file_fdatawait_range

Message ID 6524c785-163b-e416-a587-37f5ad31cdb8@virtuozzo.com (mailing list archive)
State New, archived
Headers show

Commit Message

Vasily Averin June 9, 2018, 1:18 p.m. UTC
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 <vvs@virtuozzo.com>
---
 include/linux/fs.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Jeff Layton June 9, 2018, 1:44 p.m. UTC | #1
On Sat, 2018-06-09 at 16:18 +0300, Vasily Averin wrote:
> 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 <vvs@virtuozzo.com>
> ---
>  include/linux/fs.h | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/include/linux/fs.h b/include/linux/fs.h
> index 760d8da..2e98d80 100644
> --- a/include/linux/fs.h
> +++ b/include/linux/fs.h
> @@ -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 <jlayton@redhat.com>
diff mbox

Patch

diff --git a/include/linux/fs.h b/include/linux/fs.h
index 760d8da..2e98d80 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -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);