mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
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: Sage Weil <sage@newdream.net>
This commit is contained in:
parent
80e755fede
commit
6298a33757
1 changed files with 17 additions and 20 deletions
Loading…
Add table
Add a link
Reference in a new issue