diff options
author | Theodore Ts'o <tytso@mit.edu> | 2016-08-01 05:38:36 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2016-08-01 05:38:36 +0200 |
commit | 3980bd3b406addb327d858aebd19e229ea340b9a (patch) | |
tree | e53f0b0b21c45c63f6f55afede89695ab225bd5c /fs/ext4 | |
parent | ext4: verify extent header depth (diff) | |
download | linux-3980bd3b406addb327d858aebd19e229ea340b9a.tar.xz linux-3980bd3b406addb327d858aebd19e229ea340b9a.zip |
ext4: reserve xattr index for the Hurd
The Hurd is using inode fields which restricts it from using more
advanced ext4 file system features, due to design choices made over a
decade ago. By giving the Hurd an extended attribute index field we
allow it to move the translator and author fields out of the core
inode fields, and hopefully we can get rid of ugly hacks such as
EXT4_OS_HURD and EXT4_MOUNT2_HURD_COMPAT somday.
For more information please see:
https://summerofcode.withgoogle.com/projects/#5869799859027968
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4')
-rw-r--r-- | fs/ext4/xattr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext4/xattr.h b/fs/ext4/xattr.h index 69dd3e6566e0..a92e783fa057 100644 --- a/fs/ext4/xattr.h +++ b/fs/ext4/xattr.h @@ -24,6 +24,7 @@ #define EXT4_XATTR_INDEX_SYSTEM 7 #define EXT4_XATTR_INDEX_RICHACL 8 #define EXT4_XATTR_INDEX_ENCRYPTION 9 +#define EXT4_XATTR_INDEX_HURD 10 /* Reserved for Hurd */ struct ext4_xattr_header { __le32 h_magic; /* magic number for identification */ |