From: huanwen ren Date: Wed, 14 Dec 2016 04:29:59 +0000 (+0000) Subject: client: don't need inode when request CEPH_MDS_OP_LOOKUPPARENT X-Git-Tag: v12.0.0~273^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=51e4129829d734a8322cf8d46b4212abfba2aecf;p=ceph.git client: don't need inode when request CEPH_MDS_OP_LOOKUPPARENT Signed-off-by: huanwen ren --- diff --git a/src/client/Client.cc b/src/client/Client.cc index 00b7c024f3a3..4de486acfb99 100644 --- a/src/client/Client.cc +++ b/src/client/Client.cc @@ -7973,7 +7973,6 @@ int Client::lookup_parent(Inode *ino, const UserPerm& perms, Inode **parent) MetaRequest *req = new MetaRequest(CEPH_MDS_OP_LOOKUPPARENT); filepath path(ino->ino); req->set_filepath(path); - req->set_inode(ino); InodeRef target; int r = make_request(req, perms, &target, NULL, rand() % mdsmap->get_num_in_mds());