summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2018-12-12 06:23:25 -0500
committerKent Overstreet <kent.overstreet@gmail.com>2018-12-27 11:38:37 -0500
commit3c2308d4582591375df91a7daf8142254674d91c (patch)
treefb09ac71f61b1e27844551229c2eea47b507b65f
parent77e8452b0161cee86af7e248f8f7a1ffec27422b (diff)
bcachefs: Fix for building in userspace
-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 31b627f092a2..efda901efae1 100644
--- a/fs/bcachefs/bcachefs_format.h
+++ b/fs/bcachefs/bcachefs_format.h
@@ -73,6 +73,7 @@
#include <asm/types.h>
#include <asm/byteorder.h>
+#include <linux/kernel.h>
#include <linux/uuid.h>
#define LE_BITMASK(_bits, name, type, field, offset, end) \