]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds/MDSRank: Ignore create_root_inode's access value 9588/head
authorhuanwen ren <ren.huanwen@zte.com.cn>
Sun, 12 Jun 2016 06:58:29 +0000 (14:58 +0800)
committerhuanwen ren <ren.huanwen@zte.com.cn>
Sun, 12 Jun 2016 06:58:29 +0000 (14:58 +0800)
add (void), Ignore create_root_inode's access value

Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
src/mds/MDSRank.cc

index 47c196c755d905ad39cfa9960a00c46edfad344a..4efe0302ac9a718e1d98da6846f9fd9b8a44bd0a 100644 (file)
@@ -954,7 +954,7 @@ void MDSRank::boot_start(BootStep step, int r)
           mdcache->open_root_inode(gather.new_sub());
         } else {
           // replay.  make up fake root inode to start with
-          mdcache->create_root_inode();
+          (void)mdcache->create_root_inode();
         }
         gather.activate();
       }