1 ext4: reserve xattr index for the Hurd
3 The Hurd is using inode fields which restricts it from using more
4 advanced ext4 file system features, due to design choices made over a
5 decade ago. By giving the Hurd an extended attribute index field we
6 allow it to move the translator and author fields out of the core
7 inode fields, and hopefully we can get rid of ugly hacks such as
8 EXT4_OS_HURD and EXT4_MOUNT2_HURD_COMPAT somday.
10 For more information please see:
11 https://summerofcode.withgoogle.com/projects/#5869799859027968
13 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
16 1 file changed, 1 insertion(+)
18 diff --git a/fs/ext4/xattr.h b/fs/ext4/xattr.h
19 index 69dd3e6..a92e783 100644
23 #define EXT4_XATTR_INDEX_SYSTEM 7
24 #define EXT4_XATTR_INDEX_RICHACL 8
25 #define EXT4_XATTR_INDEX_ENCRYPTION 9
26 +#define EXT4_XATTR_INDEX_HURD 10 /* Reserved for Hurd */
28 struct ext4_xattr_header {
29 __le32 h_magic; /* magic number for identification */