On Mon, Oct 19, 2015 at 12:46:49AM +0200, Andreas Gruenbacher wrote: > The filesystem sets the MS_POSIXACL super-block flag for POSIX ACLs or > the MS_RICHACL super-block flag for richacls. These flags are checked > with the IS_POSIXACL(inode) and IS_RICHACL(inode) macros. Ah, OK. So it's either one thing or another. > I can send the validation code; not sure how removing corrupt xattrs > would fit into e2fsck though. Can e2fsck remove individual xattrs? Yep. Using the libext2fs function ext2fs_xattr_remove(), in lib/ext2fs/ext_attr.c. This requires the development branch of e2fsprogs, but by adding a new feature flag, richacl is going to require a 1.43 version of e2fsprogs (not yet released, but hopefully will be released soon). - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html