]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: cleanup the calling convention for xfs_rtpick_extent
authorChristoph Hellwig <hch@lst.de>
Fri, 30 Aug 2024 22:36:55 +0000 (15:36 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Sun, 1 Sep 2024 15:58:19 +0000 (08:58 -0700)
commit237130564ef3745ab4a8b5ba09da929befc761d9
treea187ed2e7273adcf4d4bc32368c1efa058ac1230
parentb4781eea6872431840e53ffebb95a5614e6944b4
xfs: cleanup the calling convention for xfs_rtpick_extent

xfs_rtpick_extent never returns an error.  Do away with the error return
and directly return the picked extent instead of doing that through a
call by reference argument.

Signed-off-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_rtalloc.c