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, 20 Dec 2024 15:30:55 +0000 (08:30 -0700)
commit7dfbc3f152f1706c93f456a2cc5dee0117427d1d
tree529eb1d62f043a3e4a29b36f83b25dbdf976ed35
parentdfe872f49a0d35b19fb906caad5df53716943e2c
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