ceph: fix snap context reference leaks
authorSage Weil <sage@newdream.net>
Thu, 1 Apr 2010 05:01:38 +0000 (22:01 -0700)
committerSage Weil <sage@newdream.net>
Thu, 1 Apr 2010 16:34:37 +0000 (09:34 -0700)
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>

No differences found