From 30bda3ddee725967a9fdac76834ed3228ec1a051 Mon Sep 17 00:00:00 2001 From: huanwen ren Date: Sun, 12 Jun 2016 14:58:29 +0800 Subject: [PATCH] mds/MDSRank: Ignore create_root_inode's access value add (void), Ignore create_root_inode's access value Signed-off-by: huanwen ren --- src/mds/MDSRank.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mds/MDSRank.cc b/src/mds/MDSRank.cc index 47c196c755d..4efe0302ac9 100644 --- a/src/mds/MDSRank.cc +++ b/src/mds/MDSRank.cc @@ -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(); } -- 2.47.3