summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2018-06-24 10:43:51 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2018-08-05 15:44:14 -0400
commit34b2a88fb4aa4de34e1d5f9fc2761b746980f9b1 (patch)
tree0e8d0acb50520154d040fa7401e0c70282c58a31 /fs/btrfs/dev-replace.c
parent855371bd01b4cd8cf0e2b8ca172a5c30a481f963 (diff)
downloadlinux-34b2a88fb4aa4de34e1d5f9fc2761b746980f9b1.tar.bz2
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 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions