aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/ocfs2.h
diff options
context:
space:
mode:
authorTiger Yang <tiger.yang@oracle.com>2008-08-18 05:11:00 -0400
committerMark Fasheh <mfasheh@suse.com>2008-10-13 19:57:02 -0400
commitcf1d6c763fbcb115263114302485ad17e7933d87 (patch)
tree85717dc9d20b7ac1e31b683653933f2d30099f44 /fs/ocfs2/ocfs2.h
parentfdd77704a8b4666a32120fcd1e4a9fedaf3263d8 (diff)
ocfs2: Add extended attribute support
This patch implements storing extended attributes both in inode or a single external block. We only store EA's in-inode when blocksize > 512 or that inode block has free space for it. When an EA's value is larger than 80 bytes, we will store the value via b-tree outside inode or block. Signed-off-by: Tiger Yang <tiger.yang@oracle.com> Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs/ocfs2/ocfs2.h')
-rw-r--r--fs/ocfs2/ocfs2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ocfs2/ocfs2.h b/fs/ocfs2/ocfs2.h
index ce75ca312a2d..cae0dd4b7f75 100644
--- a/fs/ocfs2/ocfs2.h
+++ b/fs/ocfs2/ocfs2.h
@@ -188,6 +188,7 @@ enum ocfs2_mount_options
188 OCFS2_MOUNT_ERRORS_PANIC = 1 << 3, /* Panic on errors */ 188 OCFS2_MOUNT_ERRORS_PANIC = 1 << 3, /* Panic on errors */
189 OCFS2_MOUNT_DATA_WRITEBACK = 1 << 4, /* No data ordering */ 189 OCFS2_MOUNT_DATA_WRITEBACK = 1 << 4, /* No data ordering */
190 OCFS2_MOUNT_LOCALFLOCKS = 1 << 5, /* No cluster aware user file locks */ 190 OCFS2_MOUNT_LOCALFLOCKS = 1 << 5, /* No cluster aware user file locks */
191 OCFS2_MOUNT_NOUSERXATTR = 1 << 6, /* No user xattr */
191}; 192};
192 193
193#define OCFS2_OSB_SOFT_RO 0x0001 194#define OCFS2_OSB_SOFT_RO 0x0001
@@ -218,6 +219,7 @@ struct ocfs2_super
218 u32 bitmap_cpg; 219 u32 bitmap_cpg;
219 u8 *uuid; 220 u8 *uuid;
220 char *uuid_str; 221 char *uuid_str;
222 u32 uuid_hash;
221 u8 *vol_label; 223 u8 *vol_label;
222 u64 first_cluster_group_blkno; 224 u64 first_cluster_group_blkno;
223 u32 fs_generation; 225 u32 fs_generation;