]> www.infradead.org Git - users/jedix/linux-maple.git/commit
afs: Make afs_mkdir() locally initialise a new directory's content
authorDavid Howells <dhowells@redhat.com>
Mon, 16 Dec 2024 20:41:18 +0000 (20:41 +0000)
committerChristian Brauner <brauner@kernel.org>
Fri, 20 Dec 2024 21:34:09 +0000 (22:34 +0100)
commit836bb70bde6a24a0069866b69d23eb61a00c422a
treef1826ee7a46b79e7ac194f86881dc3249c583ad4
parente2d46f2ec332533816417b60933954173f602121
afs: Make afs_mkdir() locally initialise a new directory's content

Initialise a new directory's content when it is created by mkdir locally
rather than downloading the content from the server as we can predict what
it's going to look like.

Signed-off-by: David Howells <dhowells@redhat.com>
Link: https://lore.kernel.org/r/20241216204124.3752367-29-dhowells@redhat.com
cc: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/afs/dir.c
fs/afs/dir_edit.c
fs/afs/internal.h
include/trace/events/afs.h