diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-03-05 12:09:12 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2022-03-05 12:09:12 -0500 |
commit | 1ffc9b4554b29316a51f6bf3374540b3c878b783 (patch) | |
tree | 9bb23be90fef99ba7151cfa5cd244a01a0fef858 /libbcachefs/super.c | |
parent | 465e90314cc5e6f910933d092c8b0b2965a5c32b (diff) |
Update bcachefs sources to f67089dc9b bcachefs: Convert bch2_sb_to_text to master option list
Diffstat (limited to 'libbcachefs/super.c')
-rw-r--r-- | libbcachefs/super.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libbcachefs/super.c b/libbcachefs/super.c index 9af8eb35..fb7f8d6d 100644 --- a/libbcachefs/super.c +++ b/libbcachefs/super.c @@ -1162,9 +1162,6 @@ static struct bch_dev *__bch2_dev_alloc(struct bch_fs *c, ca->mi = bch2_mi_to_cpu(member); ca->uuid = member->uuid; - if (opt_defined(c->opts, discard)) - ca->mi.discard = opt_get(c->opts, discard); - if (percpu_ref_init(&ca->ref, bch2_dev_ref_complete, 0, GFP_KERNEL) || percpu_ref_init(&ca->io_ref, bch2_dev_io_ref_complete, |