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
c96f5857
Commit
c96f5857
authored
May 06, 2009
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a leak in failure exit in 9p ->get_sb()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
6f5bbff9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
fs/9p/vfs_super.c
fs/9p/vfs_super.c
+1
-0
No files found.
fs/9p/vfs_super.c
View file @
c96f5857
...
@@ -156,6 +156,7 @@ static int v9fs_get_sb(struct file_system_type *fs_type, int flags,
...
@@ -156,6 +156,7 @@ static int v9fs_get_sb(struct file_system_type *fs_type, int flags,
root
=
d_alloc_root
(
inode
);
root
=
d_alloc_root
(
inode
);
if
(
!
root
)
{
if
(
!
root
)
{
iput
(
inode
);
retval
=
-
ENOMEM
;
retval
=
-
ENOMEM
;
goto
release_sb
;
goto
release_sb
;
}
}
...
...
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