Project

General

Profile

Actions

Bug #14178

closed

KeyValueStore: fd leak during mount

Added by xie xingguo over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

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.

Actions

Also available in: Atom PDF