summaryrefslogtreecommitdiff
path: root/fs/bcachefs/io_types.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2020-01-29 21:05:04 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:08:35 +0300
commit7d4aed1ea408f45aef8ddf5f28d8c10680b4f214 (patch)
treee30cea4ac06b697f932f9146c18fe96b0b5793af /fs/bcachefs/io_types.h
parent4dba7c301782de9cba75b7895a5068c0bf07a551 (diff)
downloadlinux-7d4aed1ea408f45aef8ddf5f28d8c10680b4f214.tar.xz
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_types.h')
-rw-r--r--fs/bcachefs/io_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/io_types.h b/fs/bcachefs/io_types.h
index a9a336c04269..692af6dd6031 100644
--- a/fs/bcachefs/io_types.h
+++ b/fs/bcachefs/io_types.h
@@ -106,7 +106,7 @@ struct bch_write_op {
unsigned compression_type:4;
unsigned nr_replicas:4;
unsigned nr_replicas_required:4;
- unsigned alloc_reserve:4;
+ unsigned alloc_reserve:3;
unsigned incompressible:1;
struct bch_devs_list devs_have;