xfs: refactor user/group quota chown in xfs_setattr_nonsize
authorDarrick J. Wong <djwong@kernel.org>
Tue, 8 Mar 2022 18:51:16 +0000 (10:51 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 14 Mar 2022 17:23:17 +0000 (10:23 -0700)
commitdd3b015dd806627c6bcacc24b03f1ca23ca085ff
tree73f0149cdcd7a3c487d6514f3a875d96a4990703
parente014f37db1a2d109afa750042ac4d69cf3e3d88e
xfs: refactor user/group quota chown in xfs_setattr_nonsize

Combine if tests to reduce the indentation levels of the quota chown
calls in xfs_setattr_nonsize.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Christian Brauner <brauner@kernel.org>
fs/xfs/xfs_iops.c