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
70e17f40
Commit
70e17f40
authored
May 20, 2004
by
Dave Kleikamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
JFS: [CHECKER] Memory leak on commonly executed path
The jfs_log structure was never being freed at unmount time.
parent
6316036f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
fs/jfs/jfs_logmgr.c
fs/jfs/jfs_logmgr.c
+3
-0
No files found.
fs/jfs/jfs_logmgr.c
View file @
70e17f40
...
@@ -1486,6 +1486,7 @@ int lmLogClose(struct super_block *sb)
...
@@ -1486,6 +1486,7 @@ int lmLogClose(struct super_block *sb)
* in-line log in host file system
* in-line log in host file system
*/
*/
rc
=
lmLogShutdown
(
log
);
rc
=
lmLogShutdown
(
log
);
kfree
(
log
);
goto
out
;
goto
out
;
}
}
...
@@ -1515,6 +1516,8 @@ int lmLogClose(struct super_block *sb)
...
@@ -1515,6 +1516,8 @@ int lmLogClose(struct super_block *sb)
bd_release
(
bdev
);
bd_release
(
bdev
);
blkdev_put
(
bdev
);
blkdev_put
(
bdev
);
kfree
(
log
);
out:
out:
up
(
&
jfs_log_sem
);
up
(
&
jfs_log_sem
);
jfs_info
(
"lmLogClose: exit(%d)"
,
rc
);
jfs_info
(
"lmLogClose: exit(%d)"
,
rc
);
...
...
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