mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
The batch holds references to the folios (see `filemap_get_folios`, `folio_batch_release`), so we need to `folio_put` the folios we remove. Tested on v6.18. Cc: [email protected] Link: https://tracker.ceph.com/issues/74156 Signed-off-by: Hristo Venev <[email protected]> Reviewed-by: Viacheslav Dubeyko <[email protected]> Signed-off-by: Ilya Dryomov <[email protected]>