diff options
Diffstat (limited to 'fs/ceph')
-rw-r--r-- | fs/ceph/osdmap.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/ceph/osdmap.c b/fs/ceph/osdmap.c index 46b391d8e86c..1d5f58cc2d93 100644 --- a/fs/ceph/osdmap.c +++ b/fs/ceph/osdmap.c | |||
@@ -1026,8 +1026,9 @@ static int *calc_pg_raw(struct ceph_osdmap *osdmap, struct ceph_pg pgid, | |||
1026 | ruleno = crush_find_rule(osdmap->crush, pool->v.crush_ruleset, | 1026 | ruleno = crush_find_rule(osdmap->crush, pool->v.crush_ruleset, |
1027 | pool->v.type, pool->v.size); | 1027 | pool->v.type, pool->v.size); |
1028 | if (ruleno < 0) { | 1028 | if (ruleno < 0) { |
1029 | pr_err("no crush rule pool %d type %d size %d\n", | 1029 | pr_err("no crush rule pool %d ruleset %d type %d size %d\n", |
1030 | poolid, pool->v.type, pool->v.size); | 1030 | poolid, pool->v.crush_ruleset, pool->v.type, |
1031 | pool->v.size); | ||
1031 | return NULL; | 1032 | return NULL; |
1032 | } | 1033 | } |
1033 | 1034 | ||