From: xie xingguo Date: Mon, 4 Jan 2016 04:12:48 +0000 (+0800) Subject: os:fix fd leak during mount X-Git-Tag: v10.0.3~31^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c198155cdf984fa32a9bc896cb29ae061b853918;p=ceph.git os:fix fd leak during mount Fixes: #14178 Signed-off-by: xie xingguo --- diff --git a/src/os/keyvaluestore/KeyValueStore.cc b/src/os/keyvaluestore/KeyValueStore.cc index 35eb6f4489f6..03c663a4feb4 100644 --- a/src/os/keyvaluestore/KeyValueStore.cc +++ b/src/os/keyvaluestore/KeyValueStore.cc @@ -945,7 +945,7 @@ int KeyValueStore::mount() derr << "KeyValueStore::mount backend type " << superblock.backend << " error" << dendl; ret = -1; - goto close_fsid_fd; + goto close_current_fd; }