diff options
| author | Christoph Hellwig <[email protected]> | 2023-12-18 04:57:29 +0000 |
|---|---|---|
| committer | Chandan Babu R <[email protected]> | 2023-12-22 05:48:13 +0000 |
| commit | 9ade45b08a685e121895228f344af1f8985adb2c (patch) | |
| tree | 7f81a43eceaad902bb811a5fdecdc57413e63c90 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | xfs: invert a check in xfs_rtallocate_extent_block (diff) | |
| download | kernel-9ade45b08a685e121895228f344af1f8985adb2c.tar.gz kernel-9ade45b08a685e121895228f344af1f8985adb2c.zip | |
xfs: reflow the tail end of xfs_rtallocate_extent_block
Change polarity of a check so that the successful case of being able to
allocate an extent is in the main path of the function and error handling
is on a branch.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: "Darrick J. Wong" <[email protected]>
Signed-off-by: Chandan Babu R <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
