diff options
| author | Theodore Y. Ts'o <tytso@snap.thunk.org> | 2002-10-30 16:33:05 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@penguin.transmeta.com> | 2002-10-30 16:33:05 -0500 |
| commit | 651d4694e05ecca7372d6b364263bde8a3fafe28 (patch) | |
| tree | d4ed1fa77cd58870157971fe6e1cb56ec4275d5e /include/linux | |
| parent | dcdc0bd836f8cf2ed3160e8a7036e18ff73f7e98 (diff) | |
Port of (bugfixed) 0.8.50 acl-ext3 to 2.5.
This patch adds ACL support to the ext3 filesystem.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ext3_fs.h | 1 | ||||
| -rw-r--r-- | include/linux/ext3_fs_i.h | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/ext3_fs.h b/include/linux/ext3_fs.h index f23c5a1a8a2e..fdbff1a12592 100644 --- a/include/linux/ext3_fs.h +++ b/include/linux/ext3_fs.h @@ -323,6 +323,7 @@ struct ext3_inode { #define EXT3_MOUNT_UPDATE_JOURNAL 0x1000 /* Update the journal format */ #define EXT3_MOUNT_NO_UID32 0x2000 /* Disable 32-bit UIDs */ #define EXT3_MOUNT_XATTR_USER 0x4000 /* Extended user attributes */ +#define EXT3_MOUNT_POSIX_ACL 0x8000 /* POSIX Access Control Lists */ /* Compatibility, for having both ext2_fs.h and ext3_fs.h included at once */ #ifndef _LINUX_EXT2_FS_H diff --git a/include/linux/ext3_fs_i.h b/include/linux/ext3_fs_i.h index 6faf8f1b6e75..ec11e1ab01c5 100644 --- a/include/linux/ext3_fs_i.h +++ b/include/linux/ext3_fs_i.h @@ -41,6 +41,10 @@ struct ext3_inode_info { __u32 i_prealloc_count; #endif __u32 i_dir_start_lookup; +#ifdef CONFIG_EXT3_FS_POSIX_ACL + struct posix_acl *i_acl; + struct posix_acl *i_default_acl; +#endif struct list_head i_orphan; /* unlinked but open inodes */ |
