]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
uclient: change snaprealm refcounting to erase at 0 refs.
authorGreg Farnum <gregory.farnum@dreamhost.com>
Wed, 22 Jun 2011 22:06:57 +0000 (15:06 -0700)
committerGreg Farnum <gregory.farnum@dreamhost.com>
Wed, 22 Jun 2011 23:41:40 +0000 (16:41 -0700)
commita8eac4faf64f3c4361bd1e36004d273230a66911
treea9cc026cb867ea6bcfe0cd8b4dd9e789bea39507
parent8fd24723236100ebb3924c44608ee3272fc72c5a
uclient: change snaprealm refcounting to erase at 0 refs.

This is more idiomatic and less confusing than having 0 refs be
still alive, and -1 be the point of destruction.

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
src/client/Client.h