diff options
Diffstat (limited to 'libbcachefs/rebalance.c')
-rw-r--r-- | libbcachefs/rebalance.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libbcachefs/rebalance.c b/libbcachefs/rebalance.c index 08e209e1..95f46cb3 100644 --- a/libbcachefs/rebalance.c +++ b/libbcachefs/rebalance.c @@ -177,7 +177,8 @@ static struct bkey_s_c next_rebalance_extent(struct btree_trans *trans, prt_str(&buf, "target="); bch2_target_to_text(&buf, c, r->target); prt_str(&buf, " compression="); - prt_str(&buf, bch2_compression_opts[r->compression]); + struct bch_compression_opt opt = __bch2_compression_decode(r->compression); + prt_str(&buf, bch2_compression_opts[opt.type]); prt_str(&buf, " "); bch2_bkey_val_to_text(&buf, c, k); |