summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/super.c
diff options
context:
space:
mode:
authorMark Fasheh <mark.fasheh@oracle.com>2007-09-24 15:09:41 -0700
committerMark Fasheh <mark.fasheh@oracle.com>2008-01-25 14:36:40 -0800
commit6f7b056ea9c6fa978c79ca626eff43549df94dbb (patch)
treee8318b4f7390547ad84208c393608f7141c027d3 /fs/ocfs2/super.c
parent6561168cb442be8d2769dce663870b6a28573e16 (diff)
downloadlinux-6f7b056ea9c6fa978c79ca626eff43549df94dbb.tar.gz
linux-6f7b056ea9c6fa978c79ca626eff43549df94dbb.tar.bz2
linux-6f7b056ea9c6fa978c79ca626eff43549df94dbb.zip
ocfs2: Remove fs dependency on ocfs2_heartbeat module
Now that the dlm exposes domain information to us, we don't need generic node up / node down callbacks. And since the DLM is only telling us when a node goes down unexpectedly, we no longer need to optimize away node down callbacks via the umount map. Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/super.c')
-rw-r--r--fs/ocfs2/super.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c
index 5ee775420665..64b81b341ece 100644
--- a/fs/ocfs2/super.c
+++ b/fs/ocfs2/super.c
@@ -1117,12 +1117,6 @@ static int ocfs2_mount_volume(struct super_block *sb)
goto leave;
}
- status = ocfs2_register_hb_callbacks(osb);
- if (status < 0) {
- mlog_errno(status);
- goto leave;
- }
-
status = ocfs2_dlm_init(osb);
if (status < 0) {
mlog_errno(status);
@@ -1260,8 +1254,6 @@ static void ocfs2_dismount_volume(struct super_block *sb, int mnt_err)
ocfs2_dlm_shutdown(osb);
}
- ocfs2_clear_hb_callbacks(osb);
-
debugfs_remove(osb->osb_debug_root);
if (!mnt_err)