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
1a0ce16d
Commit
1a0ce16d
authored
Mar 17, 2016
by
Mike Marshall
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Orangefs: adjust unwind on module init failure.
Signed-off-by:
Mike Marshall
<
hubcap@omnibond.com
>
parent
2180c52c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
fs/orangefs/orangefs-mod.c
fs/orangefs/orangefs-mod.c
+3
-4
No files found.
fs/orangefs/orangefs-mod.c
View file @
1a0ce16d
...
@@ -181,11 +181,10 @@ static int __init orangefs_init(void)
...
@@ -181,11 +181,10 @@ static int __init orangefs_init(void)
* and passes along the needed info. The argument signifies
* and passes along the needed info. The argument signifies
* which time orangefs_prepare_debugfs_help_string is being
* which time orangefs_prepare_debugfs_help_string is being
* called.
* called.
*
*/
*/
ret
=
orangefs_prepare_debugfs_help_string
(
1
);
ret
=
orangefs_prepare_debugfs_help_string
(
1
);
if
(
ret
)
if
(
ret
)
goto
prepare_helpstring_failed
;
goto
cleanup_key_table
;
ret
=
orangefs_debugfs_init
();
ret
=
orangefs_debugfs_init
();
if
(
ret
)
if
(
ret
)
...
@@ -207,7 +206,6 @@ static int __init orangefs_init(void)
...
@@ -207,7 +206,6 @@ static int __init orangefs_init(void)
}
}
orangefs_sysfs_exit
();
orangefs_sysfs_exit
();
fsid_key_table_finalize
();
sysfs_init_failed:
sysfs_init_failed:
...
@@ -216,7 +214,8 @@ static int __init orangefs_init(void)
...
@@ -216,7 +214,8 @@ static int __init orangefs_init(void)
debugfs_init_failed:
debugfs_init_failed:
orangefs_debugfs_cleanup
();
orangefs_debugfs_cleanup
();
prepare_helpstring_failed:
cleanup_key_table:
fsid_key_table_finalize
();
cleanup_progress_table:
cleanup_progress_table:
kfree
(
htable_ops_in_progress
);
kfree
(
htable_ops_in_progress
);
...
...
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