summaryrefslogtreecommitdiffstats
path: root/include/rdma
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2014-12-11 00:41:56 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2014-12-11 02:41:03 +0100
commitdc17158060fb57f49c310a7def12fdaeddf35b19 (patch)
tree1b1bdae0c2a15a4fe834e9d38c85adf6e10e8e6e /include/rdma
parentocfs2: remove filesize checks for sync I/O journal commit (diff)
downloadlinux-dc17158060fb57f49c310a7def12fdaeddf35b19.tar.xz
linux-dc17158060fb57f49c310a7def12fdaeddf35b19.zip
ocfs2: fix error handling when creating debugfs root in ocfs2_init()
Error handling if creation of root of debugfs in ocfs2_init() fails is broken. Although error code is set we fail to exit ocfs2_init() with error and thus initialization ends with success. Later when mounting a filesystem, ocfs2 debugfs entries end up being created in the root of debugfs filesystem which is confusing. Fix the error handling to bail out. Coverity id: 1227009. Signed-off-by: Jan Kara <jack@suse.cz> Reviewed-by: Joseph Qi <joseph.qi@huawei.com> Cc: Mark Fasheh <mfasheh@suse.com> Cc: Joel Becker <jlbec@evilplan.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions