]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephfs: fix missing ll_get for ll_walk 12061/head
authorGui Hecheng <guihecheng@cmss.chinamobile.com>
Thu, 17 Nov 2016 10:01:22 +0000 (18:01 +0800)
committerGui Hecheng <guihecheng@cmss.chinamobile.com>
Wed, 30 Nov 2016 02:00:08 +0000 (10:00 +0800)
Fixs: http://tracker.ceph.com/issues/18086

Signed-off-by: Gui Hecheng <guihecheng@cmss.chinamobile.com>
src/client/Client.cc

index bc246f7adf6dfb7cf299fe55fa485120d92b0087..4d661b0752a0df23407688630ec7f507337c3dca 100644 (file)
@@ -9917,6 +9917,7 @@ int Client::ll_walk(const char* name, Inode **out, struct ceph_statx *stx,
   } else {
     assert(in);
     fill_statx(in, mask, stx);
+    _ll_get(in.get());
     *out = in.get();
     return 0;
   }