]> git.itanic.dy.fi Git - linux-stable/commit
xfs: tidy up xfs_rtallocate_extent_exact
authorChristoph Hellwig <hch@lst.de>
Mon, 18 Dec 2023 04:57:31 +0000 (05:57 +0100)
committerChandan Babu R <chandanbabu@kernel.org>
Fri, 22 Dec 2023 05:48:13 +0000 (11:18 +0530)
commit3c97c9f78d23c7e449fc9a0865b40f44748c3011
tree5d82467e5db29324540efed4f30c2fe31af9d624
parentd9498fa8c8580b9cedb764e475503706ba7a0fbf
xfs: tidy up xfs_rtallocate_extent_exact

Use common code for both xfs_rtallocate_range calls by moving
the !isfree logic into the non-default branch.

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