mm/filemap: add magic foliop_dropbehind pointer
authorJens Axboe <axboe@kernel.dk>
Fri, 13 Dec 2024 15:30:29 +0000 (08:30 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 13 Dec 2024 15:30:29 +0000 (08:30 -0700)
commitd3d3c72060dffb4426434e229cde131111c2218b
tree0e48f7b55ba2e5401715cf827cdcc767c81372ce
parent9fd830c331ad8227bf5e0214155e4ba81451ff83
mm/filemap: add magic foliop_dropbehind pointer

Rather than change ->writebehind() to take a flags argument, again, add
foliop_dropbehind to be able to inform the handler that this is a
dropbehind write.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/pagemap.h
mm/filemap.c