vfs: Introduce filemap_fdatawait_range
commitd3bccb6f4b886060aa0f58976b92b77d951f5434
authorJan Kara <jack@suse.cz>
Mon, 17 Aug 2009 17:30:27 +0000 (17 19:30 +0200)
committerJan Kara <jack@suse.cz>
Mon, 14 Sep 2009 15:08:14 +0000 (14 17:08 +0200)
treeb5f9eb43890da173a078e883d51c23b8c27ceaa6
parent86d710146fb9975f04c505ec78caa43d227c1018
vfs: Introduce filemap_fdatawait_range

This simple helper saves some filesystems conversion from byte offset
to page numbers and also makes the fdata* interface more complete.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
include/linux/fs.h
mm/filemap.c