summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/ocfs2.h
diff options
context:
space:
mode:
authorTiger Yang <tiger.yang@oracle.com>2008-11-14 04:17:04 +0100
committerMark Fasheh <mfasheh@suse.com>2009-01-05 17:34:20 +0100
commit929fb014e041c6572c5e8c3686f1e32742b5b953 (patch)
tree149328875787dab63ec873cfa06364f4a23ac06d /fs/ocfs2/ocfs2.h
parentocfs2: add ocfs2_xattr_get_nolock (diff)
downloadlinux-929fb014e041c6572c5e8c3686f1e32742b5b953.tar.xz
linux-929fb014e041c6572c5e8c3686f1e32742b5b953.zip
ocfs2: add POSIX ACL API
This patch adds POSIX ACL(access control lists) APIs in ocfs2. We convert struct posix_acl to many ocfs2_acl_entry and regard them as an extended attribute entry. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ocfs2/ocfs2.h b/fs/ocfs2/ocfs2.h
index 3fed9e3d8992..25d07ff1d3cd 100644
--- a/fs/ocfs2/ocfs2.h
+++ b/fs/ocfs2/ocfs2.h
@@ -195,6 +195,7 @@ enum ocfs2_mount_options
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 */
+ OCFS2_MOUNT_POSIX_ACL = 1 << 8, /* POSIX access control lists */
};
#define OCFS2_OSB_SOFT_RO 0x0001