xattr: always us is_posix_acl_xattr() helper
authorChristian Brauner <brauner@kernel.org>
Mon, 19 Sep 2022 09:49:14 +0000 (11:49 +0200)
committerChristian Brauner (Microsoft) <brauner@kernel.org>
Wed, 21 Sep 2022 10:01:29 +0000 (12:01 +0200)
commit38e316398e4e6338b80223fb5f74415c0513718f
tree715088289dee2f0f9decf58d04a444a36f3e78c8
parent0978c7c41fe2a3735f8776dc27cf1641bd916773
xattr: always us is_posix_acl_xattr() helper

The is_posix_acl_xattr() helper was added in 0c5fd887d2bb ("acl: move
idmapped mount fixup into vfs_{g,s}etxattr()") to remove the open-coded
checks for POSIX ACLs. We missed to update two locations. Switch them to
use the helper.

Cc: Seth Forshee (DigitalOcean) <sforshee@kernel.org>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Reviewed-by: Seth Forshee (DigitalOcean) <sforshee@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xattr.c