diff --git a/.bcachefs_revision b/.bcachefs_revision index 47478b73..1e6e7905 100644 --- a/.bcachefs_revision +++ b/.bcachefs_revision @@ -1 +1 @@ -0415b63b198ccf8bf5eee3af73accd60e94ad63a +2679158d6e268d1bbcebda4f2000a24683ae06e0 diff --git a/libbcachefs/alloc.c b/libbcachefs/alloc.c index 1c5b2e49..09cb6fb2 100644 --- a/libbcachefs/alloc.c +++ b/libbcachefs/alloc.c @@ -1147,6 +1147,8 @@ static enum bucket_alloc_ret __bch2_bucket_alloc_set(struct bch_fs *c, ca->mi.bucket_size); bch2_wp_rescale(c, ca, wp); + __clear_bit(ca->dev_idx, devs->d); + /* * open_bucket_add_buckets expects new pointers at the head of * the list: