linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] removed extra extern file_fdatawait_range
@ 2018-06-09 13:18 Vasily Averin
  2018-06-09 13:44 ` Jeff Layton
  0 siblings, 1 reply; 2+ messages in thread
From: Vasily Averin @ 2018-06-09 13:18 UTC (permalink / raw)
  To: Alexander Viro; +Cc: linux-fsdevel, Jeff Layton

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);
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] removed extra extern file_fdatawait_range
  2018-06-09 13:18 [PATCH] removed extra extern file_fdatawait_range Vasily Averin
@ 2018-06-09 13:44 ` Jeff Layton
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Layton @ 2018-06-09 13:44 UTC (permalink / raw)
  To: Vasily Averin, Alexander Viro; +Cc: linux-fsdevel

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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-06-09 13:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-09 13:18 [PATCH] removed extra extern file_fdatawait_range Vasily Averin
2018-06-09 13:44 ` Jeff Layton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).