summaryrefslogtreecommitdiff
path: root/fs/bcachefs/super-io.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-09-24 02:07:16 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:10:15 +0300
commit793a06d984511593c6375d219b38cc84f5a71aff (patch)
tree7cdd18dffcd3ccb3e1272263008c42b835634332 /fs/bcachefs/super-io.c
parent03ef80b469d5d83530ce1ce15be78a40e5300f9b (diff)
downloadlinux-793a06d984511593c6375d219b38cc84f5a71aff.tar.xz
bcachefs: Fixes for building in userspace
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/super-io.c')
-rw-r--r--fs/bcachefs/super-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/super-io.c b/fs/bcachefs/super-io.c
index 55bc03d2e8ed..c9bf342d14aa 100644
--- a/fs/bcachefs/super-io.c
+++ b/fs/bcachefs/super-io.c
@@ -675,7 +675,7 @@ retry:
#ifndef __KERNEL__
if (opt_get(*opts, direct_io) == false)
- sb->mode |= FMODE_BUFFERED;
+ sb->mode |= BLK_OPEN_BUFFERED;
#endif
if (!opt_get(*opts, noexcl))