xfs: move xfs_ioc_getfsmap out of xfs_ioctl.c
authorDarrick J. Wong <djwong@kernel.org>
Fri, 30 Aug 2024 22:37:16 +0000 (15:37 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Sun, 1 Sep 2024 15:58:19 +0000 (08:58 -0700)
commit2ca7b9d7b80810b2b45b78b8a4b4fa78a1ddc2dd
treea5cf61a23b19013dab3352ad5dd547f8bc49c502
parent516f91035c272c40a409ded7aa063e08b14dd0a6
xfs: move xfs_ioc_getfsmap out of xfs_ioctl.c

Move this function out of xfs_ioctl.c to reduce the clutter in there,
and make the entire getfsmap implementation self-contained in a single
file.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_fsmap.c
fs/xfs/xfs_fsmap.h
fs/xfs/xfs_ioctl.c