summaryrefslogtreecommitdiff
path: root/fs/bcachefs/bcachefs_format.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2018-12-12 06:23:25 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:08:13 -0400
commit7121643e4fe20cbf916bf7ff032873dfbc19ee8e (patch)
tree66c6883ae9ae3964f43b9c2898a97f5e101959ee /fs/bcachefs/bcachefs_format.h
parentf9ccc30824a6b9f44b975c8ce952938eff5920f3 (diff)
downloadlwn-7121643e4fe20cbf916bf7ff032873dfbc19ee8e.tar.gz
lwn-7121643e4fe20cbf916bf7ff032873dfbc19ee8e.zip
bcachefs: Fix for building in userspace
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/bcachefs_format.h')
-rw-r--r--fs/bcachefs/bcachefs_format.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/bcachefs_format.h b/fs/bcachefs/bcachefs_format.h
index 162a0a307f1b..8ef17c7ddaf7 100644
--- a/fs/bcachefs/bcachefs_format.h
+++ b/fs/bcachefs/bcachefs_format.h
@@ -74,6 +74,7 @@
#include <asm/types.h>
#include <asm/byteorder.h>
+#include <linux/kernel.h>
#include <linux/uuid.h>
#ifdef __KERNEL__