commit | 34b2a88fb4aa4de34e1d5f9fc2761b746980f9b1 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sun Jun 24 10:43:51 2018 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sun Aug 05 15:44:14 2018 -0400 |
tree | 0e8d0acb50520154d040fa7401e0c70282c58a31 | |
parent | 855371bd01b4cd8cf0e2b8ca172a5c30a481f963 [diff] |
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>