]> www.infradead.org Git - users/willy/xarray.git/commit
xfs: cleanup xfs_vn_getattr
authorChristoph Hellwig <hch@lst.de>
Thu, 9 Jan 2025 08:31:03 +0000 (09:31 +0100)
committerChristian Brauner <brauner@kernel.org>
Thu, 9 Jan 2025 15:23:17 +0000 (16:23 +0100)
commit7e17483c7b151ed64f8959278def2fea164526f5
tree5e70140df0513679ddd3b042606ce13acbef3f36
parent7ed6cbe0f8caa6ee38a2dc8f1b925acb904cc01f
xfs: cleanup xfs_vn_getattr

Split the two bits of optional statx reporting into their own helpers
so that they are self-contained instead of deeply indented in the main
getattr handler.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20250109083109.1441561-4-hch@lst.de
Reviewed-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/xfs/xfs_iops.c