Skip to contentSkip to conversation

ext4: Reserve xattr index for Rich ACL support

PATCH In review Jan Kara 2 participants 3 messages Feb 6, 2013 – Apr 17, 2013 ext4 file system

lore
Share & tools
lore

Jan Kara

author reviewer
#0 lore raw

PATCH 1/1 ext4: Reserve xattr index for Rich ACL support

SUSE is carrying out of tree patches for Rich ACL support for ext4 as they didn't get upstream due to opposition of some VFS maintainers. Reserve xattr index for Rich ACLs so that it cannot be taken by anything else which would force users to backup and reset their Rich ACLs on files.

---
 fs/ext4/xattr.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
fs/ext4/xattr.h +1 -0
index 69eda78..7955773 100644
@@ -22,6 +22,7 @@
 #define	EXT4_XATTR_INDEX_LUSTRE			5
 #define EXT4_XATTR_INDEX_SECURITY	        6
 #define EXT4_XATTR_INDEX_SYSTEM			7
+#define EXT4_XATTR_INDEX_RICHACL		8
 
 struct ext4_xattr_header {
 	__le32	h_magic;	/* magic number for identification */
Signature · 1 line
1.7.1
author reviewer
#1 lore raw
Quoted 7 lines · Jan Kara

SUSE is carrying out of tree patches for Rich ACL support for ext4 as they didn't get upstream due to opposition of some VFS maintainers. Reserve xattr index for Rich ACLs so that it cannot be taken by anything else which would force users to backup and reset their Rich ACLs on files.

Ping? Any opinion on this?

Honza

Quoted 19 lines
---
 fs/ext4/xattr.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
fs/ext4/xattr.h +1 -0
index 69eda78..7955773 100644
@@ -22,6 +22,7 @@
 #define	EXT4_XATTR_INDEX_LUSTRE			5
 #define EXT4_XATTR_INDEX_SECURITY	        6
 #define EXT4_XATTR_INDEX_SYSTEM			7
+#define EXT4_XATTR_INDEX_RICHACL		8
 
 struct ext4_xattr_header {
 	__le32	h_magic;	/* magic number for identification */
Signature · 1 line
1.7.1
Signature · 2 lines
Jan Kara <[email protected]>
SUSE Labs, CR
maintainer
#2 lore raw
In reply to Jan Kara
Quoted 7 lines · Jan Kara

SUSE is carrying out of tree patches for Rich ACL support for ext4 as they didn't get upstream due to opposition of some VFS maintainers. Reserve xattr index for Rich ACLs so that it cannot be taken by anything else which would force users to backup and reset their Rich ACLs on files.

I've added this to the ext4 patch queue. Thanks for poking me about this.

Cheers,

- Ted