netfs: Add a hook to allow tell the netfs to update its i_size
authorDavid Howells <dhowells@redhat.com>
Fri, 25 Feb 2022 12:27:53 +0000 (12:27 +0000)
committerDavid Howells <dhowells@redhat.com>
Thu, 28 Dec 2023 09:45:20 +0000 (09:45 +0000)
commitc6dc54dd91bbf597942b4975b8adec660a16827d
tree7598ebd72cc38c43a53970cb148d5e5f5037721c
parent16af134ca4b7051b1587108f2066ec90ae029f74
netfs: Add a hook to allow tell the netfs to update its i_size

Add a hook for netfslib's write helpers to call to tell the network
filesystem that it should update its i_size.

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
include/linux/netfs.h