diff options
| author | Sage Weil <[email protected]> | 2012-05-21 16:45:23 +0000 |
|---|---|---|
| committer | Sage Weil <[email protected]> | 2012-05-22 03:40:42 +0000 |
| commit | 6bd9adbdf9ca6a052b0b7455ac67b925eb38cfad (patch) | |
| tree | 61d254846558e23906bbef993092cf372f641509 /lib/spinlock_debug.c | |
| parent | libceph: avoid unregistering osd request when not registered (diff) | |
| download | kernel-6bd9adbdf9ca6a052b0b7455ac67b925eb38cfad.tar.gz kernel-6bd9adbdf9ca6a052b0b7455ac67b925eb38cfad.zip | |
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 <[email protected]>
Reviewed-by: Alex Elder <[email protected]>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions
