Re: [PATCH] mm: Clean up filemap_write_and_wait()

From: Matthew Wilcox
Date: Wed Nov 20 2019 - 08:36:24 EST


On Tue, Nov 19, 2019 at 10:23:34PM -0800, ira.weiny@xxxxxxxxx wrote:
> At some point filemap_write_and_wait() and
> filemap_write_and_wait_range() got the exact same implementation with
> the exception of the range being specified in *_range()
>
> Similar to other functions in fs.h which call
> *_range(..., 0, LLONG_MAX), change filemap_write_and_wait() to be a
> static inline which calls filemap_write_and_wait_range()
>
> Signed-off-by: Ira Weiny <ira.weiny@xxxxxxxxx>

Reviewed-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>