aboutsummaryrefslogtreecommitdiff
path: root/fs/bcachefs/six.c
diff options
context:
space:
mode:
authorGravatar Kent Overstreet <kent.overstreet@linux.dev> 2023-05-23 00:21:22 -0400
committerGravatar Kent Overstreet <kent.overstreet@linux.dev> 2023-10-22 17:10:02 -0400
commit96e53e909d0433f73831315b106f16895a74b843 (patch)
treee2da8bfe89ec9d6a735c2ff15e55cdebd426c6e1 /fs/bcachefs/six.c
parentsix locks: Tiny bit more tidying (diff)
downloadlinux-96e53e909d0433f73831315b106f16895a74b843.tar.gz
linux-96e53e909d0433f73831315b106f16895a74b843.tar.bz2
linux-96e53e909d0433f73831315b106f16895a74b843.zip
six locks: Delete redundant comment
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/six.c')
-rw-r--r--fs/bcachefs/six.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/fs/bcachefs/six.c b/fs/bcachefs/six.c
index 6b6c64031994..fa508ab2108c 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)