aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/cluster/sys.c
diff options
context:
space:
mode:
authorJoel Becker <joel.becker@oracle.com>2007-02-03 06:14:30 -0500
committerMark Fasheh <mark.fasheh@oracle.com>2007-03-14 17:37:09 -0400
commitc24f72cc7ca829bbad0532ddf315ace3ae1c359e (patch)
treef52e199ba3e426d0713be8d401a1c53336f47b8b /fs/ocfs2/cluster/sys.c
parentc3442e296517aee733d62fc3fe03211598902c7d (diff)
ocfs2: Proper cleanup in case of error in ocfs2_register_hb_callbacks()
If ocfs2_register_hb_callbacks() succeeds on its first callback but fails its second, it doesn't release the first on the way out. Fix that. While we're at it, o2hb_unregister_callback() never returns anything but 0, so let's make it void. Signed-off-by: Joel Becker <joel.becker@oracle.com> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/cluster/sys.c')
0 files changed, 0 insertions, 0 deletions