afs: Make /afs/@cell and /afs/.@cell symlinks
authorDavid Howells <dhowells@redhat.com>
Tue, 7 Jan 2025 18:34:51 +0000 (18:34 +0000)
committerChristian Brauner <brauner@kernel.org>
Fri, 10 Jan 2025 13:54:08 +0000 (14:54 +0100)
commit30bca65bbbae13f32ee4f2897c55a496ea8132cf
treeb324e47daab2a60b173bf3dc622beae98ca1ccda
parent3e914febd79a8d1a78ee6e67ff3fa4214d6d1d57
afs: Make /afs/@cell and /afs/.@cell symlinks

Make /afs/@cell a symlink in the /afs dynamic root to match what other AFS
clients do rather than doing a substitution in the dentry name.  This has
the bonus of being tab-expandable also.

Further, provide a /afs/.@cell symlink to point to the dotted cell share.

Signed-off-by: David Howells <dhowells@redhat.com>
Link: https://lore.kernel.org/r/20250107183454.608451-4-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/dynroot.c
include/trace/events/afs.h