From 80dc45445ab8c8181e461a2eb819e8fcf4a9721d Mon Sep 17 00:00:00 2001 From: xie xingguo Date: Thu, 25 Feb 2016 07:08:03 +0000 Subject: [PATCH] os/filestore: fix result code overwritten So it reflects the real error number. Signed-off-by: xie xingguo --- src/os/filestore/FileStore.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/os/filestore/FileStore.cc b/src/os/filestore/FileStore.cc index eeefe54759d..036a40b020b 100644 --- a/src/os/filestore/FileStore.cc +++ b/src/os/filestore/FileStore.cc @@ -1332,7 +1332,6 @@ int FileStore::mount() ret = read_superblock(); if (ret < 0) { - ret = -EINVAL; goto close_fsid_fd; } -- 2.47.3