Unverified Commit a1d98e4f authored by Jens Axboe's avatar Jens Axboe Committed by Christian Brauner
Browse files

mm/filemap: unify dropbehind flag testing and clearing



The read and write side does this a bit differently, unify it such that
the _{read,write} helpers check the bit before locking, and the generic
handler is in charge of clearing the bit and invalidating, once under
the folio lock.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
Link: https://lore.kernel.org/20250527133255.452431-6-axboe@kernel.dk


Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent 1da7a06d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment