From: Sage Weil Date: Mon, 21 May 2012 16:45:23 +0000 (-0700) Subject: libceph: fix pg_temp updates X-Git-Tag: v3.5-rc1~36^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bd9adbdf9ca6a052b0b7455ac67b925eb38cfad;p=pandora-kernel.git libceph: fix pg_temp updates Usually, we are adding pg_temp entries or removing them. Occasionally they update. In that case, osdmap_apply_incremental() was failing because the rbtree entry already exists. Fix by removing the existing entry before inserting a new one. Fixes http://tracker.newdream.net/issues/2446 Signed-off-by: Sage Weil Reviewed-by: Alex Elder --- Reading git-diff-tree failed