projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c872afa
)
bcachefs: Fix bch_sb_handle type
author
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 10 Sep 2023 06:13:33 +0000
(
02:13
-0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:10:12 +0000
(17:10 -0400)
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>
fs/bcachefs/super_types.h
patch
|
blob
|
history
diff --git
a/fs/bcachefs/super_types.h
b/fs/bcachefs/super_types.h
index 08faeedba3268b42919af38d3d2417f00b5dd351..597a8db73585b8ad2793c59e1fa6668dfe3f87e5 100644
(file)
--- 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;