xfs: drop unnecessary setfilesize helper
authorBrian Foster <bfoster@redhat.com>
Fri, 9 Apr 2021 17:27:56 +0000 (10:27 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 9 Apr 2021 17:32:13 +0000 (10:32 -0700)
commite7a3d7e792a5ad50583a2e6c35e72bd2ca6096f4
tree67099b48484834489f2ce846fef0618da51e8c5f
parent044c6449f18f174ba8d86640936add3fc7582e49
xfs: drop unnecessary setfilesize helper

xfs_setfilesize() is the only remaining caller of the internal
__xfs_setfilesize() helper. Fold them into a single function.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/xfs_aops.c