]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: refactor xfs_fs_statfs
authorChristoph Hellwig <hch@lst.de>
Mon, 13 Jan 2025 04:32:59 +0000 (05:32 +0100)
committerCarlos Maiolino <cem@kernel.org>
Mon, 13 Jan 2025 13:56:30 +0000 (14:56 +0100)
commitdd324cb79e54d3a61621f09c346ee050315a4d2e
tree953dea3ec2b22aa9c120666a88c71df6eea07e00
parent72843ca62417a0587ca98791b172e4c3b3f8d3a8
xfs: refactor xfs_fs_statfs

Split out helpers for data, rt data and inode related information, and
assigning f_bavail once instead of in three places.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_qm_bhv.c
fs/xfs/xfs_super.c