commit | 4a4e07c1bdbbc24d905e4c266b92cada9371db5d | [log] [tgz] |
---|---|---|
author | Joseph Qi <joseph.qi@huawei.com> | Thu Oct 09 15:24:58 2014 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Oct 09 22:25:47 2014 -0400 |
tree | 50bbab4fdef17e08dd46bddbc67bee7c389dc9d6 | |
parent | 7fa05c6e46d76378d4403669ba6ea38364f910ac [diff] |
ocfs2: call o2quo_exit() if malloc failed in o2net_init() In o2net_init, if malloc failed, it directly returns -ENOMEM. Then o2quo_exit won't be called in init_o2nm. Signed-off-by: Joseph Qi <joseph.qi@huawei.com> Reviewed-by: joyce.xue <xuejiufei@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>