]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2f3f5e6a71dda12cfd6cfe4d5aab6a0fc99d3b3a
tree011d7dac62f5256fa9a320bd91fb5a1a59546307
parent341da3da2814e4de0b1a35da4e2d36f84005a32c
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