commit | 6298a33757ba7361bb8f506c106daad77e5ac8cf | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Wed Mar 31 22:01:38 2010 -0700 |
committer | Sage Weil <sage@newdream.net> | Thu Apr 01 09:34:37 2010 -0700 |
tree | ebd8e7cab86a66c00c0bd4f411c335ed4d0fda9f | |
parent | 80e755fedebc8de0599a79efad2c656503df2e62 [diff] |
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>