mirror of
https://github.com/ceph/ceph
synced 2025-02-21 09:57:26 +00:00
os/bluestore/BlueFS: fix Dir memory leak
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
b9227e3f80
commit
9cd042a566
@ -98,6 +98,8 @@ public:
|
||||
struct Dir : public RefCountedObject {
|
||||
map<string,FileRef> file_map;
|
||||
|
||||
Dir() : RefCountedObject(NULL, 0) {}
|
||||
|
||||
friend void intrusive_ptr_add_ref(Dir *d) {
|
||||
d->get();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user