]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
client: fix MetaRequest::set_other_inode()
authorYan, Zheng <zyan@redhat.com>
Mon, 11 Jul 2016 07:32:41 +0000 (15:32 +0800)
committerYan, Zheng <zyan@redhat.com>
Fri, 15 Jul 2016 01:15:55 +0000 (09:15 +0800)
Signed-off-by: Yan, Zheng <zyan@redhat.com>
src/client/MetaRequest.h

index fdfffea756c7e783d0abb5ef92ed7a9f80ef599a..1776bdefbe47fd1d235a517f49a13f75f1c9a138 100644 (file)
@@ -137,7 +137,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();