xfs: convert to fileattr

Use the fileattr API to let the VFS handle locking, permission checking and
conversion.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Cc: Darrick J. Wong <djwong@kernel.org>
This commit is contained in:
Miklos Szeredi 2021-04-07 14:36:43 +02:00
commit 9fefd5db08
6 changed files with 80 additions and 204 deletions