diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-09-24 01:07:16 +0200 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 23:10:15 +0200 |
commit | 793a06d984511593c6375d219b38cc84f5a71aff (patch) | |
tree | 7cdd18dffcd3ccb3e1272263008c42b835634332 /fs/bcachefs/io_read.c | |
parent | bcachefs: Ignore unknown mount options (diff) | |
download | linux-793a06d984511593c6375d219b38cc84f5a71aff.tar.xz linux-793a06d984511593c6375d219b38cc84f5a71aff.zip |
bcachefs: Fixes for building in userspace
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/io_read.c')
-rw-r--r-- | fs/bcachefs/io_read.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/bcachefs/io_read.c b/fs/bcachefs/io_read.c index 9a57da00573d..443c3ea65527 100644 --- a/fs/bcachefs/io_read.c +++ b/fs/bcachefs/io_read.c @@ -24,6 +24,8 @@ #include "subvolume.h" #include "trace.h" +#include <linux/sched/mm.h> + #ifndef CONFIG_BCACHEFS_NO_LATENCY_ACCT static bool bch2_target_congested(struct bch_fs *c, u16 target) |