git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3442e2
)
ocfs2: Proper cleanup in case of error in ocfs2_register_hb_callbacks()
author
Joel Becker
<joel.becker@oracle.com>
Sat, 3 Feb 2007 11:14:30 +0000
(
03:14
-0800)
committer
Mark Fasheh
<mark.fasheh@oracle.com>
Wed, 14 Mar 2007 21:37:09 +0000
(14:37 -0700)
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>
No differences found