summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2016-07-31 23:38:36 -0400
committerTheodore Ts'o <tytso@mit.edu>2016-07-31 23:38:36 -0400
commit3980bd3b406addb327d858aebd19e229ea340b9a (patch)
treee53f0b0b21c45c63f6f55afede89695ab225bd5c /fs
parent7bc9491645118c9461bd21099c31755ff6783593 (diff)
downloadlinux-3980bd3b406addb327d858aebd19e229ea340b9a.tar.gz
linux-3980bd3b406addb327d858aebd19e229ea340b9a.tar.bz2
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')
-rw-r--r--fs/ext4/xattr.h1
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 */