commit | 7fc9e4722435cd8459182c4975f48934f2bb1274 | [log] [tgz] |
---|---|---|
author | Goldwyn Rodrigues <rgoldwyn@suse.com> | Tue Jun 20 07:05:41 2017 -0500 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Jun 20 07:12:03 2017 -0600 |
tree | 44a50b5cfa0379939111ef900f73b4c2657c83a4 | |
parent | fdd2f5b7de2afaa931e5f7bad7bcda35d1f1b479 [diff] |
fs: Introduce filemap_range_has_page() filemap_range_has_page() return true if the file's mapping has a page within the range mentioned. This function will be used to check if a write() call will cause a writeback of previous writes. Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>