aboutsummaryrefslogtreecommitdiffstats
path: root/net/ceph/osdmap.c
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2011-05-12 18:18:43 -0400
committerSage Weil <sage@newdream.net>2011-05-19 14:25:03 -0400
commit31456665a02148353a83fec84d3182700e356588 (patch)
tree406b6eada9dfaa7fdf6daf121d0c0bab11ffbdf2 /net/ceph/osdmap.c
parent3540303f87115cbdae6ed2cab44ce6a7676d48d3 (diff)
libceph: fix osdmap timestamp assignment
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'net/ceph/osdmap.c')
-rw-r--r--net/ceph/osdmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ceph/osdmap.c b/net/ceph/osdmap.c
index 71603ac3dff5..94f068dda433 100644
--- a/net/ceph/osdmap.c
+++ b/net/ceph/osdmap.c
@@ -765,7 +765,7 @@ struct ceph_osdmap *osdmap_apply_incremental(void **p, void *end,
765 } 765 }
766 766
767 map->epoch++; 767 map->epoch++;
768 map->modified = map->modified; 768 map->modified = modified;
769 if (newcrush) { 769 if (newcrush) {
770 if (map->crush) 770 if (map->crush)
771 crush_destroy(map->crush); 771 crush_destroy(map->crush);