summaryrefslogtreecommitdiff
path: root/fs/bcachefs/super_types.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-09-10 09:13:33 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:10:12 +0300
commitc7afec9bd63dc00047c35f9b747aa2be505533e6 (patch)
treeb8d83de80ef44d299f0d00617fc69c26f47a75eb /fs/bcachefs/super_types.h
parentc872afa22420cbbeb8c78656926928b9e2abae18 (diff)
downloadlinux-c7afec9bd63dc00047c35f9b747aa2be505533e6.tar.xz
bcachefs: Fix bch_sb_handle type
blk_mode_t was recently introduced; we should be using it now, instead of fmode_t. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/super_types.h')
-rw-r--r--fs/bcachefs/super_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/super_types.h b/fs/bcachefs/super_types.h
index 08faeedba326..597a8db73585 100644
--- a/fs/bcachefs/super_types.h
+++ b/fs/bcachefs/super_types.h
@@ -8,7 +8,7 @@ struct bch_sb_handle {
struct bio *bio;
void *holder;
size_t buffer_size;
- fmode_t mode;
+ blk_mode_t mode;
unsigned have_layout:1;
unsigned have_bio:1;
unsigned fs_sb:1;