Project

General

Profile

Bug #14178

KeyValueStore: fd leak during mount

Added by xie xingguo about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
12/24/2015
Due date:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

See KeyValueStore::mount():
if (!store) {
derr << "KeyValueStore::mount backend type "
<< superblock.backend << " error" << dendl;
ret = -1;
goto close_fsid_fd;

}

Shall close current fd also.

Associated revisions

Revision c198155c (diff)
Added by xie xingguo about 3 years ago

os:fix fd leak during mount

Fixes: #14178
Signed-off-by: xie xingguo <>

Also available in: Atom PDF