summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2018-03-14 20:10:49 -0400
committerKent Overstreet <kent.overstreet@gmail.com>2018-03-14 20:11:31 -0400
commit28461f036c5486ff4da862c760a3375ee4c8df83 (patch)
treef93cf7871acd085f75f19dc959356a03d2125be1
parent571209b9fa002b5ab5c2f6e21cca83c8000228a0 (diff)
fixup! bcachefs: durability
-rw-r--r--fs/bcachefs/alloc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/bcachefs/alloc.c b/fs/bcachefs/alloc.c
index 22dcaeb27563..a765120c8a4b 100644
--- a/fs/bcachefs/alloc.c
+++ b/fs/bcachefs/alloc.c
@@ -1534,11 +1534,6 @@ struct write_point *bch2_alloc_sectors_start(struct bch_fs *c,
wp->first_ptr++;
}
- ret = open_bucket_add_buckets(c, target, wp, devs_have,
- nr_replicas, reserve, cl);
- if (ret && ret != -EROFS)
- goto err;
-
if (flags & BCH_WRITE_ONLY_SPECIFIED_DEVS) {
ret = open_bucket_add_buckets(c, target, wp, devs_have,
nr_replicas, reserve, cl);