https://github.com/torvalds/linux
Revision c24f72cc7ca829bbad0532ddf315ace3ae1c359e authored by Joel Becker on 03 February 2007, 11:14:30 UTC, committed by Mark Fasheh on 14 March 2007, 21:37:09 UTC
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>
1 parent c3442e2
History
Tip revision: c24f72cc7ca829bbad0532ddf315ace3ae1c359e authored by Joel Becker on 03 February 2007, 11:14:30 UTC
ocfs2: Proper cleanup in case of error in ocfs2_register_hb_callbacks()
Tip revision: c24f72c
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 572 bytes
.mailmap -rw-r--r-- 3.5 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 88.9 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 82.0 KB
Makefile -rw-r--r-- 49.1 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top