summaryrefslogtreecommitdiff
path: root/fs/netfs
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2021-10-21 01:10:46 +0300
committerDavid Howells <dhowells@redhat.com>2022-01-07 12:22:19 +0300
commited1235eb78a7421cd0ac2ad09e931f8f07ccdc7c (patch)
treee33e59dce860d027a3ea48ba68f39e9e71f5ea2b /fs/netfs
parent8e7a867bb7309fbf47e8c2a68798b919fc02523f (diff)
downloadlinux-ed1235eb78a7421cd0ac2ad09e931f8f07ccdc7c.tar.xz
fscache: Provide a function to let the netfs update its coherency data
Provide a function to let the netfs update its coherency data: void fscache_update_cookie(struct fscache_cookie *cookie, const void *aux_data, const loff_t *object_size); This will update the auxiliary data and/or the size of the object attached to a cookie if either pointer is not-NULL and flag that the disk needs to be updated. Note that fscache_unuse_cookie() also allows this to be done. Signed-off-by: David Howells <dhowells@redhat.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> cc: linux-cachefs@redhat.com Link: https://lore.kernel.org/r/163819610438.215744.4223265964131424954.stgit@warthog.procyon.org.uk/ # v1 Link: https://lore.kernel.org/r/163906913530.143852.18150303220217653820.stgit@warthog.procyon.org.uk/ # v2 Link: https://lore.kernel.org/r/163967117795.1823006.7493373142653442595.stgit@warthog.procyon.org.uk/ # v3 Link: https://lore.kernel.org/r/164021518440.640689.6369952464473039268.stgit@warthog.procyon.org.uk/ # v4
Diffstat (limited to 'fs/netfs')
0 files changed, 0 insertions, 0 deletions