summaryrefslogtreecommitdiff
path: root/fs/ocfs2/ocfs2_fs.h
diff options
context:
space:
mode:
authorSunil Mushran <sunil.mushran@oracle.com>2010-10-08 02:23:50 +0400
committerSunil Mushran <sunil.mushran@oracle.com>2010-10-08 02:23:50 +0400
commit2c442719e90a44a6982c033d69df4aae4b167cfa (patch)
tree33719bdeeab9dc0fcb5898ca673aaa248b639dbb /fs/ocfs2/ocfs2_fs.h
parent98f486f23bc5b6a6fa90e1a0707b7e9fe0e7f3e4 (diff)
downloadlinux-2c442719e90a44a6982c033d69df4aae4b167cfa.tar.xz
ocfs2: Add support for heartbeat=global mount option
Adds support for heartbeat=global mount option. It ensures that the heartbeat mode passed matches the one enabled on disk. Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Diffstat (limited to 'fs/ocfs2/ocfs2_fs.h')
-rw-r--r--fs/ocfs2/ocfs2_fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ocfs2/ocfs2_fs.h b/fs/ocfs2/ocfs2_fs.h
index d5b1d99abc3c..28ff536b4f8d 100644
--- a/fs/ocfs2/ocfs2_fs.h
+++ b/fs/ocfs2/ocfs2_fs.h
@@ -376,6 +376,7 @@ static struct ocfs2_system_inode_info ocfs2_system_inodes[NUM_SYSTEM_INODES] = {
/* Parameter passed from mount.ocfs2 to module */
#define OCFS2_HB_NONE "heartbeat=none"
#define OCFS2_HB_LOCAL "heartbeat=local"
+#define OCFS2_HB_GLOBAL "heartbeat=global"
/*
* OCFS2 directory file types. Only the low 3 bits are used. The