Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
a96d1cac
Commit
a96d1cac
authored
Aug 25, 2009
by
James Toy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Signed-off-by:
Andrew Morton
<
akpm@linux-foundation.org
>
parent
06370c52
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
fs/jbd/journal.c
fs/jbd/journal.c
+11
-3
No files found.
fs/jbd/journal.c
View file @
a96d1cac
...
...
@@ -1778,9 +1778,17 @@ repeat:
if
(
buffer_jbd
(
bh
))
{
jh
=
bh2jh
(
bh
);
}
else
{
J_ASSERT_BH
(
bh
,
(
atomic_read
(
&
bh
->
b_count
)
>
0
)
||
(
bh
->
b_page
&&
bh
->
b_page
->
mapping
));
if
(
!
(
atomic_read
(
&
bh
->
b_count
)
>
0
||
(
bh
->
b_page
&&
bh
->
b_page
->
mapping
)))
{
printk
(
KERN_EMERG
"%s: bh->b_count=%d
\n
"
,
__FUNCTION__
,
atomic_read
(
&
bh
->
b_count
));
printk
(
KERN_EMERG
"%s: bh->b_page=%p
\n
"
,
__FUNCTION__
,
bh
->
b_page
);
if
(
bh
->
b_page
)
printk
(
KERN_EMERG
"%s: "
"bh->b_page->mapping=%p
\n
"
,
__FUNCTION__
,
bh
->
b_page
->
mapping
);
}
if
(
!
new_jh
)
{
jbd_unlock_bh_journal_head
(
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