Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
96e53e90
Commit
96e53e90
authored
May 23, 2023
by
Kent Overstreet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
six locks: Delete redundant comment
Signed-off-by:
Kent Overstreet
<
kent.overstreet@linux.dev
>
parent
2ab62310
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
fs/bcachefs/six.c
fs/bcachefs/six.c
+0
-11
No files found.
fs/bcachefs/six.c
View file @
96e53e90
...
...
@@ -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)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment