]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/filestore: fix result code overwritten 7721/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Thu, 25 Feb 2016 07:08:03 +0000 (07:08 +0000)
committerxie xingguo <xie.xingguo@zte.com.cn>
Tue, 15 Mar 2016 13:56:57 +0000 (21:56 +0800)
So it reflects the real error number.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/os/filestore/FileStore.cc

index eeefe54759d7f61575cc29fe7aacbab5f853c024..036a40b020b5ba460ca312552677072df1896e6b 100644 (file)
@@ -1332,7 +1332,6 @@ int FileStore::mount()
 
   ret = read_superblock();
   if (ret < 0) {
-    ret = -EINVAL;
     goto close_fsid_fd;
   }