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;