projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fdb138
)
libceph: set 'exists' flag for newly up osd
author
Yan, Zheng
<zyan@redhat.com>
Fri, 28 Aug 2015 09:59:35 +0000
(17:59 +0800)
committer
Ilya Dryomov
<idryomov@gmail.com>
Tue, 8 Sep 2015 20:14:29 +0000
(23:14 +0300)
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
net/ceph/osdmap.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ceph/osdmap.c
b/net/ceph/osdmap.c
index 4a3125836b64a0e5264e005badb7d108ddf9c47b..7d8f581d9f1f7987b8d7051160c34f42ad2f5e73 100644
(file)
--- a/
net/ceph/osdmap.c
+++ b/
net/ceph/osdmap.c
@@
-1300,7
+1300,7
@@
struct ceph_osdmap *osdmap_apply_incremental(void **p, void *end,
ceph_decode_addr(&addr);
pr_info("osd%d up\n", osd);
BUG_ON(osd >= map->max_osd);
- map->osd_state[osd] |= CEPH_OSD_UP;
+ map->osd_state[osd] |= CEPH_OSD_UP
| CEPH_OSD_EXISTS
;
map->osd_addr[osd] = addr;
}