mirror of
https://github.com/ceph/ceph
synced 2025-01-19 17:41:39 +00:00
objectcacher: fix bh leak on discard
Fixes: #2950 Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
b97931f43b
commit
c6ae5e29a1
@ -409,6 +409,7 @@ void ObjectCacher::Object::discard(loff_t off, loff_t len)
|
||||
|
||||
p++;
|
||||
oc->bh_remove(this, bh);
|
||||
delete bh;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user