summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2011-05-13 02:18:43 +0400
committerSage Weil <sage@newdream.net>2011-05-19 22:25:03 +0400
commit31456665a02148353a83fec84d3182700e356588 (patch)
tree406b6eada9dfaa7fdf6daf121d0c0bab11ffbdf2
parent3540303f87115cbdae6ed2cab44ce6a7676d48d3 (diff)
downloadlinux-31456665a02148353a83fec84d3182700e356588.tar.xz
libceph: fix osdmap timestamp assignment
Signed-off-by: Sage Weil <sage@newdream.net>
-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,
}
map->epoch++;
- map->modified = map->modified;
+ map->modified = modified;
if (newcrush) {
if (map->crush)
crush_destroy(map->crush);