diff options
author | Jens Axboe <axboe@kernel.dk> | 2021-10-28 08:47:05 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-12-03 14:51:26 -0700 |
commit | 4bdcd1dd4d2f973b1a89fb20ba720d879e9e506b (patch) | |
tree | 011d7dac62f5256fa9a320bd91fb5a1a59546307 /fs/iomap | |
parent | a08ed9aae8a3d2321ef378d6581cc87a3fb75b44 (diff) | |
download | linux-stable-4bdcd1dd4d2f973b1a89fb20ba720d879e9e506b.tar.gz linux-stable-4bdcd1dd4d2f973b1a89fb20ba720d879e9e506b.tar.bz2 linux-stable-4bdcd1dd4d2f973b1a89fb20ba720d879e9e506b.zip |
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>
Diffstat (limited to 'fs/iomap')
-rw-r--r-- | fs/iomap/direct-io.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/iomap/direct-io.c b/fs/iomap/direct-io.c index b4dc51063d36..03ea367df19a 100644 --- a/fs/iomap/direct-io.c +++ b/fs/iomap/direct-io.c @@ -6,6 +6,7 @@ #include <linux/module.h> #include <linux/compiler.h> #include <linux/fs.h> +#include <linux/pagemap.h> #include <linux/iomap.h> #include <linux/backing-dev.h> #include <linux/uio.h> |