libceph: fix osdmap timestamp assignment
authorSage Weil <sage@newdream.net>
Thu, 12 May 2011 22:18:43 +0000 (15:18 -0700)
committerSage Weil <sage@newdream.net>
Thu, 19 May 2011 18:25:03 +0000 (11:25 -0700)
Signed-off-by: Sage Weil <sage@newdream.net>
net/ceph/osdmap.c

index 71603ac3dff54486cf1cdacaea142a3ecfc5f6fc..94f068dda433341920f5102293af894d51ed28b9 100644 (file)
@@ -765,7 +765,7 @@ struct ceph_osdmap *osdmap_apply_incremental(void **p, void *end,
        }
 
        map->epoch++;
-       map->modified = map->modified;
+       map->modified = modified;
        if (newcrush) {
                if (map->crush)
                        crush_destroy(map->crush);