diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2017-06-13 17:06:05 -0800 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2017-06-13 17:41:59 -0800 |
commit | 38f22164a9a3f2f8e33af8e0cc3ce4f17ef99cde (patch) | |
tree | 3b5de0fc73f51199bea8fcb63ad97a5b01a7c4ca /libbcachefs/migrate.c | |
parent | 914c4d19ed4a1c64268c4c23609c43d3d6765969 (diff) |
Update bcachefs sources to 6a25f7a00d bcachefs: fix ioctl code
Diffstat (limited to 'libbcachefs/migrate.c')
-rw-r--r-- | libbcachefs/migrate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs/migrate.c b/libbcachefs/migrate.c index 78f6d3c1..c6659259 100644 --- a/libbcachefs/migrate.c +++ b/libbcachefs/migrate.c @@ -72,7 +72,7 @@ int bch2_move_data_off_device(struct bch_dev *ca) bch2_replicas_gc_start(c, 1 << BCH_DATA_USER); bch2_move_ctxt_init(&ctxt, NULL, SECTORS_IN_FLIGHT_PER_DEVICE); - ctxt.avoid = ca; + __set_bit(ca->dev_idx, ctxt.avoid.d); /* * In theory, only one pass should be necessary as we've |