commit | 985a6d0b3c800265a2d5312a52c549bf09254e55 | [log] [tgz] |
---|---|---|
author | Christian Brauner <brauner@kernel.org> | Mon Aug 29 14:38:41 2022 +0200 |
committer | Christian Brauner (Microsoft) <brauner@kernel.org> | Wed Aug 31 08:49:49 2022 +0200 |
tree | b7a0ee3d0e515b969736d908e26cc0b86b49aaa4 | |
parent | a26aa12384158116c0d80d50e0bdc7b3323551e2 [diff] |
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: 0c5fd887d2bb ("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>>