diff options
author | 2018-06-24 10:43:51 -0400 | |
---|---|---|
committer | 2018-08-05 15:44:14 -0400 | |
commit | 34b2a88fb4aa4de34e1d5f9fc2761b746980f9b1 (patch) | |
tree | 0e8d0acb50520154d040fa7401e0c70282c58a31 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | afs: switch dynroot lookups to d_splice_alias() (diff) | |
download | linux-dev-34b2a88fb4aa4de34e1d5f9fc2761b746980f9b1.tar.xz linux-dev-34b2a88fb4aa4de34e1d5f9fc2761b746980f9b1.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions