summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fs/bcachefs/six.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/bcachefs/six.c b/fs/bcachefs/six.c
index 658a256a341b..97db141eea8c 100644
--- a/fs/bcachefs/six.c
+++ b/fs/bcachefs/six.c
@@ -21,8 +21,8 @@
#define EBUG_ON(cond) do {} while (0)
#endif
-#define six_acquire(l, t, r, ip) lock_acquire(l, 0, t, r, 0, NULL, ip)
-#define six_release(l, ip) lock_release(l, ip)
+#define six_acquire(l, t, r, ip) do {} while (0)
+#define six_release(l, ip) do {} while (0)
static void do_six_unlock_type(struct six_lock *lock, enum six_lock_type type);