acl: return EOPNOTSUPP in posix_acl_fix_xattr_common()
Return EOPNOTSUPP when the POSIX ACL version doesn't match and zero if there are no entries. This will allow us to reuse the helper in posix_acl_from_xattr(). This change will have no user visible effects. Fixes: 0c5fd887 ("acl: move idmapped mount fixup into vfs_{g,s}etxattr()") Signed-off-by:Christian Brauner (Microsoft) <brauner@kernel.org> Reviewed-by:
Seth Forshee (DigitalOcean) <sforshee@kernel.org>>
Showing
Please register or sign in to comment