summaryrefslogtreecommitdiffstats
path: root/mm/gup.c
diff options
context:
space:
mode:
authorIra Weiny <ira.weiny@intel.com>2020-01-31 07:12:07 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2020-01-31 19:30:37 +0100
commitddf8f376d137ba41ca67347a0b80ba0c357a1018 (patch)
treef79662fab7bc00625d46f18cc76aa917064463cc /mm/gup.c
parentmm/debug.c: always print flags in dump_page() (diff)
downloadlinux-ddf8f376d137ba41ca67347a0b80ba0c357a1018.tar.xz
linux-ddf8f376d137ba41ca67347a0b80ba0c357a1018.zip
mm/filemap.c: clean up filemap_write_and_wait()
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() Link: http://lkml.kernel.org/r/20191129160713.30892-1-ira.weiny@intel.com Signed-off-by: Ira Weiny <ira.weiny@intel.com> Reviewed-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/gup.c')
0 files changed, 0 insertions, 0 deletions