From: Kent Overstreet Date: Sun, 10 Sep 2023 06:13:33 +0000 (-0400) Subject: bcachefs: Fix bch_sb_handle type X-Git-Tag: v6.7-rc1~201^2~89 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c7afec9bd63dc00047c35f9b747aa2be505533e6;p=thirdparty%2Fkernel%2Flinux.git 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 --- diff --git a/fs/bcachefs/super_types.h b/fs/bcachefs/super_types.h index 08faeedba3268..597a8db73585b 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;