mm: add file_fdatawait_range and file_write_and_wait
authorJeff Layton <jlayton@redhat.com>
Fri, 28 Jul 2017 11:24:43 +0000 (07:24 -0400)
committerJeff Layton <jlayton@redhat.com>
Mon, 31 Jul 2017 23:12:26 +0000 (19:12 -0400)
commita823e4589e68996436d16db4ede9a43b646332f9
tree2961b2c0bd94da25551564b52ff5501918b96fb5
parent7e51fe1dd180e525c9cb9dc613c524c83c130867
mm: add file_fdatawait_range and file_write_and_wait

Necessary now for gfs2_fsync and sync_file_range, but there will
eventually be other callers.

Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
include/linux/fs.h
mm/filemap.c