xfs: move xfs_update_prealloc_flags() to xfs_pnfs.c
authorDave Chinner <dchinner@redhat.com>
Mon, 31 Jan 2022 21:20:10 +0000 (13:20 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 1 Feb 2022 22:14:48 +0000 (14:14 -0800)
commitb39a04636fd7454911b80e7b5ab2a66b011a8145
tree41569e6efe8090b9dfe06ad161fbbc3572c3c3b5
parent0b02c8c0d75a738c98c35f02efb36217c170d78c
xfs: move xfs_update_prealloc_flags() to xfs_pnfs.c

The operations that xfs_update_prealloc_flags() perform are now
unique to xfs_fs_map_blocks(), so move xfs_update_prealloc_flags()
to be a static function in xfs_pnfs.c and cut out all the
other functionality that is doesn't use anymore.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/xfs_file.c
fs/xfs/xfs_inode.h
fs/xfs/xfs_pnfs.c