Skip to content
Commit 6298a337 authored by Sage Weil's avatar Sage Weil
Browse files

ceph: fix snap context reference leaks



The get_oldest_context() helper takes a reference to the returned snap
context, but most callers weren't dropping that reference.  Fix them.

Also drop the unused locked __get_oldest_context() variant.

Signed-off-by: default avatarSage Weil <sage@newdream.net>
parent 80e755fe
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment