From 22f435a40b5c287724d40c7b070486c14bc53d8d Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Tue, 23 May 2023 00:21:22 -0400 Subject: six locks: Delete redundant comment Signed-off-by: Kent Overstreet --- fs/bcachefs/six.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'fs/bcachefs/six.c') diff --git a/fs/bcachefs/six.c b/fs/bcachefs/six.c index 6f9bab91adcd..3c7ec20da9f8 100644 --- a/fs/bcachefs/six.c +++ b/fs/bcachefs/six.c @@ -23,17 +23,6 @@ static void do_six_unlock_type(struct six_lock *lock, enum six_lock_type type); -/* - * bits 0-26 reader count - * bits 26-27 write_locking (a thread is trying to get a write lock, - * but does not have one yet) - * bits 27-28 held for intent - * bits 28-29 nospin - optimistic spinning has timed out - * bits 29-30 has read waiters - * bits 30-31 has intent waiters - * bits 31-32 has write waiters - */ - #define SIX_LOCK_HELD_read_OFFSET 0 #define SIX_LOCK_HELD_read ~(~0U << 26) #define SIX_LOCK_HELD_intent (1U << 26) -- cgit v1.2.3