On Mon, Aug 29, 2022 at 02:38:42PM +0200, Christian Brauner wrote: > Various filesystems store POSIX ACLs on the backing store in their uapi > format. Such filesystems need to translate from the uapi POSIX ACL > format into the VFS format during i_op->get_acl(). The VFS provides the > posix_acl_from_xattr() helper for this task. This has always been rather confusing. Maybe we should add a separate structure type for the on-disk vs uapi ACL formats? They will be the same in binary representation, but the extra type safety might make the core a lot more readable.