ceph: fix pg_mapping leak on pg_temp updates
authorSage Weil <sage@newdream.net>
Tue, 20 Jul 2010 23:19:56 +0000 (16:19 -0700)
committerSage Weil <sage@newdream.net>
Fri, 23 Jul 2010 17:02:06 +0000 (10:02 -0700)
Free the ceph_pg_mapping structs when they are removed from the pg_temp
rbtree.  Also fix a leak in the __insert_pg_mapping() error path.

Signed-off-by: Sage Weil <sage@newdream.net>

No differences found