]> git.ipfire.org Git - thirdparty/linux.git/commit
netfs: Provide invalidate_folio and release_folio calls
authorDavid Howells <dhowells@redhat.com>
Fri, 20 Aug 2021 16:08:30 +0000 (17:08 +0100)
committerDavid Howells <dhowells@redhat.com>
Sun, 24 Dec 2023 15:08:51 +0000 (15:08 +0000)
commitc1ec4d7c2e13471558cfea302b7583856284f94c
tree6899f7f54f3871ebd5b906a56b9828b0a73492cd
parenta34847d4b73c3a98b565b1d1cc6e1b70c661e18b
netfs: Provide invalidate_folio and release_folio calls

Provide default invalidate_folio and release_folio calls.  These will need
to interact with invalidation correctly at some point.  They will be needed
if netfslib is to make use of folio->private for its own purposes.

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
cc: linux-cachefs@redhat.com
cc: linux-fsdevel@vger.kernel.org
cc: linux-mm@kvack.org
fs/9p/vfs_addr.c
fs/afs/file.c
fs/ceph/addr.c
fs/ceph/cache.h
fs/netfs/misc.c
include/linux/netfs.h