diff options
| author | 2026-02-04 20:36:26 +0530 | |
|---|---|---|
| committer | 2026-02-25 13:58:48 +0100 | |
| commit | 18c16f602a67782f5eb4b5ab9ba73350b9f711ec (patch) | |
| tree | 3e6309ac2d1da2dbc3e9d2275819b84fade9700e /include/linux/dsa/ssh:/git@git.zx2c4.com | |
| parent | Linux 7.0-rc1 (diff) | |
xfs: Replace ASSERT with XFS_IS_CORRUPT in xfs_rtcopy_summary()
Replace ASSERT(sum > 0) with an XFS_IS_CORRUPT() and place it just
after the call to xfs_rtget_summary() so that we don't end up using
an illegal value of sum.
Signed-off-by: Nirjhar Roy (IBM) <nirjhar.roy.lists@gmail.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'include/linux/dsa/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
