aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/osdmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ceph/osdmap.h')
-rw-r--r--fs/ceph/osdmap.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/ceph/osdmap.h b/fs/ceph/osdmap.h
index 07127c6fb134..c4af8418aa00 100644
--- a/fs/ceph/osdmap.h
+++ b/fs/ceph/osdmap.h
@@ -25,7 +25,7 @@ struct ceph_pg_pool_info {
25 25
26struct ceph_pg_mapping { 26struct ceph_pg_mapping {
27 struct rb_node node; 27 struct rb_node node;
28 u64 pgid; 28 struct ceph_pg pgid;
29 int len; 29 int len;
30 int osds[]; 30 int osds[];
31}; 31};
@@ -118,6 +118,7 @@ extern int ceph_calc_object_layout(struct ceph_object_layout *ol,
118 const char *oid, 118 const char *oid,
119 struct ceph_file_layout *fl, 119 struct ceph_file_layout *fl,
120 struct ceph_osdmap *osdmap); 120 struct ceph_osdmap *osdmap);
121extern int ceph_calc_pg_primary(struct ceph_osdmap *osdmap, union ceph_pg pgid); 121extern int ceph_calc_pg_primary(struct ceph_osdmap *osdmap,
122 struct ceph_pg pgid);
122 123
123#endif 124#endif