diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-09-10 02:13:33 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:10:12 -0400 |
commit | c7afec9bd63dc00047c35f9b747aa2be505533e6 (patch) | |
tree | b8d83de80ef44d299f0d00617fc69c26f47a75eb /fs/bcachefs/super_types.h | |
parent | c872afa22420cbbeb8c78656926928b9e2abae18 (diff) |
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.h | 2 |
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; |