summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/io_read.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-09-23 19:07:16 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:10:15 -0400
commit793a06d984511593c6375d219b38cc84f5a71aff (patch)
tree7cdd18dffcd3ccb3e1272263008c42b835634332 /fs/bcachefs/io_read.c
parent03ef80b469d5d83530ce1ce15be78a40e5300f9b (diff)
downloadlinux-793a06d984511593c6375d219b38cc84f5a71aff.tar.gz
linux-793a06d984511593c6375d219b38cc84f5a71aff.tar.bz2
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.c2
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)