summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-05-07 16:34:35 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-05-21 20:14:50 -0400
commit970dde8271b607876bfdbb66b941ffda35e74973 (patch)
tree3e58ffb015ed842c20c697afd5a9f09a53d4c726 /fs
parent8c69e2b52ea81b102ace48debd114467199ca77a (diff)
bcachefs: Add missing include
fix debug build in userspace Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs')
-rw-r--r--fs/bcachefs/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/util.h b/fs/bcachefs/util.h
index 14cb2c7dfda4..25cf61ebd40c 100644
--- a/fs/bcachefs/util.h
+++ b/fs/bcachefs/util.h
@@ -14,6 +14,7 @@
#include <linux/log2.h>
#include <linux/percpu.h>
#include <linux/preempt.h>
+#include <linux/random.h>
#include <linux/ratelimit.h>
#include <linux/slab.h>
#include <linux/vmalloc.h>