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
eba4b4b7
Commit
eba4b4b7
authored
Jun 17, 2003
by
Andrew Morton
Committed by
Linus Torvalds
Jun 17, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] JBD: buffer freeing non-race comment
Add a comment describing why a race isn't there.
parent
dd71e33f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
fs/jbd/transaction.c
fs/jbd/transaction.c
+5
-0
No files found.
fs/jbd/transaction.c
View file @
eba4b4b7
...
...
@@ -1643,6 +1643,11 @@ int journal_try_to_free_buffers(journal_t *journal,
bh
=
head
;
do
{
jbd_lock_bh_state
(
bh
);
/*
* We don't have to worry about the buffer being pulled off its
* journal_head in here, because __try_to_free_cp_buf runs
* under jbd_lock_bh_state()
*/
if
(
buffer_jbd
(
bh
)
&&
!
__journal_try_to_free_buffer
(
journal
,
bh
))
{
jbd_unlock_bh_state
(
bh
);
...
...
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