]> git.itanic.dy.fi Git - linux-stable/commit
xfs: merge the calls to xfs_rtallocate_range in xfs_rtallocate_block
authorChristoph Hellwig <hch@lst.de>
Mon, 18 Dec 2023 04:57:30 +0000 (05:57 +0100)
committerChandan Babu R <chandanbabu@kernel.org>
Fri, 22 Dec 2023 05:48:13 +0000 (11:18 +0530)
commitd9498fa8c8580b9cedb764e475503706ba7a0fbf
tree26ed9d0f10da0cb211cd87c50d8f86193760fff0
parent9ade45b08a685e121895228f344af1f8985adb2c
xfs: merge the calls to xfs_rtallocate_range in xfs_rtallocate_block

Use a goto to use a common tail for the case of being able to allocate
an extent.

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