]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit516b424dc1116697b06ad2636a83268d6629c708
tree65722f0d22ccccc3b86ce4e772264d045475fcf0
parentbe41b254f161223abb43844c5b8d76a0c8353f81
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