]> git.itanic.dy.fi Git - linux-stable/commit
xfs: invert a check in xfs_rtallocate_extent_block
authorChristoph Hellwig <hch@lst.de>
Mon, 18 Dec 2023 04:57:28 +0000 (05:57 +0100)
committerChandan Babu R <chandanbabu@kernel.org>
Fri, 22 Dec 2023 05:48:12 +0000 (11:18 +0530)
commitf3e509dd45c226aff268bab3695fded60e18f720
treeb25c35ca6e070e4d526d80dd657e288c7cc06417
parentb271b314119eca1fb98a2c4e15304ce562802f0c
xfs: invert a check in xfs_rtallocate_extent_block

Doing a break in the else side of a conditional is rather silly.  Invert
the check, break ASAP and unindent the other leg.

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