summaryrefslogtreecommitdiff
path: root/libbcachefs/nocow_locking.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbcachefs/nocow_locking.c')
-rw-r--r--libbcachefs/nocow_locking.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libbcachefs/nocow_locking.c b/libbcachefs/nocow_locking.c
index 58cfd540..71b17f18 100644
--- a/libbcachefs/nocow_locking.c
+++ b/libbcachefs/nocow_locking.c
@@ -2,11 +2,10 @@
#include "bcachefs.h"
#include "bkey_methods.h"
+#include "closure.h"
#include "nocow_locking.h"
#include "util.h"
-#include <linux/closure.h>
-
bool bch2_bucket_nocow_is_locked(struct bucket_nocow_lock_table *t, struct bpos bucket)
{
u64 dev_bucket = bucket_to_u64(bucket);