summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/ocfs2.h
diff options
context:
space:
mode:
authorJoel Becker2008-09-04 05:03:40 +0200
committerMark Fasheh2008-10-14 01:57:08 +0200
commit12462f1d9f0b96389497438dc2730c6f7410be82 (patch)
treed96dec791dd45cc8901dc6a894bdbe96ad7e7c67 /fs/ocfs2/ocfs2.h
parentocfs2: Limit inode allocation to 32bits. (diff)
downloadkernel-qcow2-linux-12462f1d9f0b96389497438dc2730c6f7410be82.tar.gz
kernel-qcow2-linux-12462f1d9f0b96389497438dc2730c6f7410be82.tar.xz
kernel-qcow2-linux-12462f1d9f0b96389497438dc2730c6f7410be82.zip
ocfs2: Add the 'inode64' mount option.
Now that ocfs2 limits inode numbers to 32bits, add a mount option to disable the limit. This parallels XFS. 64bit systems can handle the larger inode numbers. [ Added description of inode64 mount option in ocfs2.txt. --Mark ] Signed-off-by: Joel Becker <joel.becker@oracle.com> Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs/ocfs2/ocfs2.h')
-rw-r--r--fs/ocfs2/ocfs2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ocfs2/ocfs2.h b/fs/ocfs2/ocfs2.h
index 6d3c10ddf489..78ae4f87e6b0 100644
--- a/fs/ocfs2/ocfs2.h
+++ b/fs/ocfs2/ocfs2.h
@@ -189,6 +189,7 @@ enum ocfs2_mount_options
OCFS2_MOUNT_DATA_WRITEBACK = 1 << 4, /* No data ordering */
OCFS2_MOUNT_LOCALFLOCKS = 1 << 5, /* No cluster aware user file locks */
OCFS2_MOUNT_NOUSERXATTR = 1 << 6, /* No user xattr */
+ OCFS2_MOUNT_INODE64 = 1 << 7, /* Allow inode numbers > 2^32 */
};
#define OCFS2_OSB_SOFT_RO 0x0001