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>2019-04-03 12:43:29 -0400
commit2a330875c9b2931a44823257259f0c5642f4be75 (patch)
treec7a1d10c3eed3803214bd0f6c010fc45118ec765
parent61c934f384a0f673a2e7e336cf7827dbb3bb9e43 (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) \