diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2020-01-29 13:05:04 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:35 -0400 |
commit | 7d4aed1ea408f45aef8ddf5f28d8c10680b4f214 (patch) | |
tree | e30cea4ac06b697f932f9146c18fe96b0b5793af /fs/bcachefs/io.h | |
parent | 4dba7c301782de9cba75b7895a5068c0bf07a551 (diff) | |
download | lwn-7d4aed1ea408f45aef8ddf5f28d8c10680b4f214.tar.gz lwn-7d4aed1ea408f45aef8ddf5f28d8c10680b4f214.zip |
bcachefs: Fix an uninitialized field in bch_write_op
Regression from "bcachefs: Track incompressible data"
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/io.h')
-rw-r--r-- | fs/bcachefs/io.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/io.h b/fs/bcachefs/io.h index fa5841a86fcb..bc9f9fec2fd7 100644 --- a/fs/bcachefs/io.h +++ b/fs/bcachefs/io.h @@ -82,6 +82,7 @@ static inline void bch2_write_op_init(struct bch_write_op *op, struct bch_fs *c, op->nr_replicas = 0; op->nr_replicas_required = c->opts.data_replicas_required; op->alloc_reserve = RESERVE_NONE; + op->incompressible = 0; op->open_buckets.nr = 0; op->devs_have.nr = 0; op->target = 0; |