Home
last modified time | relevance | path

Searched hist:"34 b2a88f" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/afs/
H A Ddir.c34b2a88f Sun Jun 24 09:43:51 CDT 2018 Al Viro <viro@zeniv.linux.org.uk> afs_lookup(): switch 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; besides, d_splice_alias() has better
calling conventions for use in ->lookup(), so the code gets simpler.

Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
34b2a88f Sun Jun 24 09:43:51 CDT 2018 Al Viro <viro@zeniv.linux.org.uk> afs_lookup(): switch 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; besides, d_splice_alias() has better
calling conventions for use in ->lookup(), so the code gets simpler.

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