OSDN Git Service

mm: move filemap_range_needs_writeback() into header
authorJens Axboe <axboe@kernel.dk>
Thu, 28 Oct 2021 14:47:05 +0000 (08:47 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 3 Dec 2021 21:51:26 +0000 (14:51 -0700)
commit4bdcd1dd4d2f973b1a89fb20ba720d879e9e506b
tree011d7dac62f5256fa9a320bd91fb5a1a59546307
parenta08ed9aae8a3d2321ef378d6581cc87a3fb75b44
mm: move filemap_range_needs_writeback() into header

No functional changes in this patch, just in preparation for efficiently
calling this light function from the block O_DIRECT handling.

Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/iomap/direct-io.c
include/linux/fs.h
include/linux/pagemap.h
mm/filemap.c