]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: make _lookup_ino take a vinodeno_t
authorJeff Layton <jlayton@redhat.com>
Mon, 1 Feb 2021 15:41:14 +0000 (10:41 -0500)
committerNathan Cutler <ncutler@suse.com>
Wed, 12 May 2021 09:03:53 +0000 (11:03 +0200)
commit58d22edea51ed9beaa7832bdef4c336c5600be23
treedb2e01710f2977a2ac9f0729560205ff689b93a5
parent36501c68a6ccfc360c0c4a77a4e2e50a12465106
client: make _lookup_ino take a vinodeno_t

Currently, it always leaves the snapid as 0. Rename it to
_lookup_vino and make it fill the snapid from the vinodeno_t
instead, but only when it's a "real" snapid.

Change the existing callers to pass in a vinodeno_t with the
snapid set to CEPH_NOSNAP.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
(cherry picked from commit 0e0bebd22dc1abea3f0132debc0b524a01fadf63)

Conflicts:
src/client/Client.cc
src/client/Client.cc
src/client/Client.h