]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
client: fix MetaRequest::set_other_inode() 10373/head
authorYan, Zheng <zyan@redhat.com>
Mon, 11 Jul 2016 07:32:41 +0000 (15:32 +0800)
committerYan, Zheng <zyan@redhat.com>
Wed, 20 Jul 2016 02:43:06 +0000 (10:43 +0800)
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit 265f96bda7e106883063f074133450ce39ee262c)

src/client/MetaRequest.h

index c180de626e6741d1dc0ee2d6ca68c664420a6b77..43173b4128d21df4a441e023d9276bac606e5fd2 100644 (file)
@@ -140,7 +140,7 @@ public:
     out->swap(_old_inode);
   }
   void set_other_inode(Inode *in) {
-    _old_inode = in;
+    _other_inode = in;
   }
   Inode *other_inode() {
     return _other_inode.get();