diff options
-rw-r--r-- | fs/ocfs2/super.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c index 93c85bc745e1..8e3ac25efb9f 100644 --- a/fs/ocfs2/super.c +++ b/fs/ocfs2/super.c | |||
@@ -1622,8 +1622,9 @@ static int __init ocfs2_init(void) | |||
1622 | 1622 | ||
1623 | ocfs2_debugfs_root = debugfs_create_dir("ocfs2", NULL); | 1623 | ocfs2_debugfs_root = debugfs_create_dir("ocfs2", NULL); |
1624 | if (!ocfs2_debugfs_root) { | 1624 | if (!ocfs2_debugfs_root) { |
1625 | status = -EFAULT; | 1625 | status = -ENOMEM; |
1626 | mlog(ML_ERROR, "Unable to create ocfs2 debugfs root.\n"); | 1626 | mlog(ML_ERROR, "Unable to create ocfs2 debugfs root.\n"); |
1627 | goto out4; | ||
1627 | } | 1628 | } |
1628 | 1629 | ||
1629 | ocfs2_set_locking_protocol(); | 1630 | ocfs2_set_locking_protocol(); |