]> git.itanic.dy.fi Git - linux-stable/commit
xfs: clean up the XFS_IOC_FSCOUNTS handler
authorChristoph Hellwig <hch@lst.de>
Mon, 4 Dec 2023 17:40:55 +0000 (18:40 +0100)
committerChandan Babu R <chandanbabu@kernel.org>
Thu, 7 Dec 2023 09:21:07 +0000 (14:51 +0530)
commitc2c2620de7577db66a859b934715e98e4501e4f4
treefeebb59abfc0a9a07b861e184b7c3bdf14ae1c3b
parent64f08b152a3bc171f4651271bfe973ad3d085ab6
xfs: clean up the XFS_IOC_FSCOUNTS handler

Split XFS_IOC_FSCOUNTS out of the main xfs_file_ioctl function, and
merge the xfs_fs_counts helper into the ioctl handler.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
fs/xfs/xfs_fsops.c
fs/xfs/xfs_fsops.h
fs/xfs/xfs_ioctl.c