afs: switch dynroot lookups to d_splice_alias()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 24 Jun 2018 00:48:31 +0000 (20:48 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 5 Aug 2018 19:41:16 +0000 (15:41 -0400)
commit855371bd01b4cd8cf0e2b8ca172a5c30a481f963
tree65722f0d22ccccc3b86ce4e772264d045475fcf0
parent50f307401113350a8d46ca45cace07a92c9bedc8
afs: switch dynroot lookups to d_splice_alias()

->lookup() methods can (and should) use d_splice_alias() instead of
d_add().  Even if they are not going to be hit by open_by_handle(),
code does get copied around...

Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/afs/dynroot.c