mm/truncate: make invalidate_complete_folio2() public
authorJens Axboe <axboe@kernel.dk>
Fri, 8 Nov 2024 15:21:09 +0000 (08:21 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 8 Nov 2024 15:46:50 +0000 (08:46 -0700)
commit60d51f27f5dea3a66755a1fb2ac58e439bb8ca36
tree872b2b33219bdcee3cc64195ae3fdbc96f599d12
parent4028170183d1e3dd4437f34e70d93139ec832fd6
mm/truncate: make invalidate_complete_folio2() public

Make invalidate_complete_folio2() be publicly available, and have it
take a gfp_t mask as well rather than hardcode GFP_KERNEL. The only
caller just passes in GFP_KERNEL, no functional changes in this patch.

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