diff options
| author | Christoph Hellwig <[email protected]> | 2023-12-20 06:34:56 +0000 |
|---|---|---|
| committer | Chandan Babu R <[email protected]> | 2023-12-29 08:07:04 +0000 |
| commit | 45c76a2add55b332d965c901e14004ae0134a67e (patch) | |
| tree | 09d0e9c6657e4a764503aebbdfeb6b2454bf0cc0 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | xfs: make if_data a void pointer (diff) | |
| download | kernel-45c76a2add55b332d965c901e14004ae0134a67e.tar.gz kernel-45c76a2add55b332d965c901e14004ae0134a67e.zip | |
xfs: return if_data from xfs_idata_realloc
Many of the xfs_idata_realloc callers need to set a local pointer to the
just reallocated if_data memory. Return the pointer to simplify them a
bit and use the opportunity to re-use krealloc for freeing if_data if the
size hits 0.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: "Darrick J. Wong" <[email protected]>
Reviewed-by: Dave Chinner <[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
