summaryrefslogtreecommitdiff
path: root/net/ceph
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2011-05-12 15:18:43 -0700
committerSage Weil <sage@newdream.net>2011-05-19 11:25:03 -0700
commit31456665a02148353a83fec84d3182700e356588 (patch)
tree406b6eada9dfaa7fdf6daf121d0c0bab11ffbdf2 /net/ceph
parent3540303f87115cbdae6ed2cab44ce6a7676d48d3 (diff)
libceph: fix osdmap timestamp assignment
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'net/ceph')
-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 71603ac3dff..94f068dda43 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,
}
map->epoch++;
- map->modified = map->modified;
+ map->modified = modified;
if (newcrush) {
if (map->crush)
crush_destroy(map->crush);