OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ocfs2: fix error handling when creating debugfs root in ocfs2_init()
[android-x86/kernel.git]
/
fs
/
ocfs2
/
super.c
diff --git
a/fs/ocfs2/super.c
b/fs/ocfs2/super.c
index
93c85bc
..
8e3ac25
100644
(file)
--- a/
fs/ocfs2/super.c
+++ b/
fs/ocfs2/super.c
@@
-1622,8
+1622,9
@@
static int __init ocfs2_init(void)
ocfs2_debugfs_root = debugfs_create_dir("ocfs2", NULL);
if (!ocfs2_debugfs_root) {
- status = -E
FAULT
;
+ status = -E
NOMEM
;
mlog(ML_ERROR, "Unable to create ocfs2 debugfs root.\n");
+ goto out4;
}
ocfs2_set_locking_protocol();