]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: stop doing unnecessary work in ll_lookup_inode
authorJeff Layton <jlayton@redhat.com>
Wed, 3 Feb 2021 13:12:41 +0000 (08:12 -0500)
committerNathan Cutler <ncutler@suse.com>
Wed, 26 May 2021 12:20:20 +0000 (14:20 +0200)
commitaabf6b05820e4175978c868cb5452a774097444a
treea57d1bc66a7c7466ce6e40140f6951db0e8aad94
parent52b078a259140619c550797bde069e2615548b28
client: stop doing unnecessary work in ll_lookup_inode

It's not clear to me why we're looking up the parent and name of the
inode in ll_lookup_inode, as we don't actually do anything with them.
Just return once we get an inode reference.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
(cherry picked from commit 2b0b895e888c0f3dece3c1e717ca6e1552e588d8)
src/client/Client.cc