diff options
author | Joseph Qi <joseph.qi@huawei.com> | 2014-10-09 15:24:58 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-10-09 22:25:47 -0400 |
commit | 4a4e07c1bdbbc24d905e4c266b92cada9371db5d (patch) | |
tree | 50bbab4fdef17e08dd46bddbc67bee7c389dc9d6 /fs/ocfs2/dlm | |
parent | 7fa05c6e46d76378d4403669ba6ea38364f910ac (diff) | |
download | blackbird-op-linux-4a4e07c1bdbbc24d905e4c266b92cada9371db5d.tar.gz blackbird-op-linux-4a4e07c1bdbbc24d905e4c266b92cada9371db5d.zip |
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>
Diffstat (limited to 'fs/ocfs2/dlm')
0 files changed, 0 insertions, 0 deletions