]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
xfs: reflow xfs_dec_freecounter
authorChristoph Hellwig <hch@lst.de>
Sun, 9 Feb 2025 04:33:43 +0000 (05:33 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 3 Mar 2025 15:15:48 +0000 (08:15 -0700)
commitcc3d2f55c43affde7195867afb7b0ee45dd8019b
treee473118f51aacf9721d2e8bef56d1d04eaca29af
parent0a1fd78080c8c9a5582e82100bd91b87ae5ac57c
xfs: reflow xfs_dec_freecounter

Let the successful allocation be the main path through the function
with exception handling in branches to make the code easier to
follow.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
fs/xfs/xfs_mount.c