diff options
| author | Joseph Qi <[email protected]> | 2015-09-04 15:43:57 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2015-09-04 16:54:41 -0700 |
| commit | cdd09f49cb271d95cbe69ef886459e0490040e98 (patch) | |
| tree | 532e1e35441127420684b66e0b17788f2ba3b56f /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 914a9b74295774b92409fbc3e0abcfa9185d9469 (diff) | |
ocfs2: fix BUG when o2hb_register_callback fails
In dlm_register_domain_handlers, if o2hb_register_callback fails, it
will call dlm_unregister_domain_handlers to unregister. This will
trigger the BUG_ON in o2hb_unregister_callback because hc_magic is 0.
So we should call o2hb_setup_callback to initialize hc first.
Signed-off-by: Joseph Qi <[email protected]>
Cc: Mark Fasheh <[email protected]>
Cc: Joel Becker <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions