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
nexedi
linux
Commits
d9f39d1e
Commit
d9f39d1e
authored
Nov 25, 2014
by
Theodore Ts'o
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jbd2: remove unnecessary NULL check before iput()
Signed-off-by:
Theodore Ts'o
<
tytso@mit.edu
>
parent
bfcba2d0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
fs/jbd2/journal.c
fs/jbd2/journal.c
+1
-2
No files found.
fs/jbd2/journal.c
View file @
d9f39d1e
...
@@ -1714,7 +1714,6 @@ int jbd2_journal_destroy(journal_t *journal)
...
@@ -1714,7 +1714,6 @@ int jbd2_journal_destroy(journal_t *journal)
if
(
journal
->
j_proc_entry
)
if
(
journal
->
j_proc_entry
)
jbd2_stats_proc_exit
(
journal
);
jbd2_stats_proc_exit
(
journal
);
if
(
journal
->
j_inode
)
iput
(
journal
->
j_inode
);
iput
(
journal
->
j_inode
);
if
(
journal
->
j_revoke
)
if
(
journal
->
j_revoke
)
jbd2_journal_destroy_revoke
(
journal
);
jbd2_journal_destroy_revoke
(
journal
);
...
...
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