diff options
| author | Christoph Hellwig <[email protected]> | 2024-05-02 07:33:54 +0000 |
|---|---|---|
| committer | Chandan Babu R <[email protected]> | 2024-05-03 05:50:06 +0000 |
| commit | 86de848403abda05bf9c16dcdb6bef65a8d88c41 (patch) | |
| tree | 5920cb215a92c4c18e026ce60302a9d02b36a2da /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | xfs: upgrade the extent counters in xfs_reflink_end_cow_extent later (diff) | |
| download | kernel-86de848403abda05bf9c16dcdb6bef65a8d88c41.tar.gz kernel-86de848403abda05bf9c16dcdb6bef65a8d88c41.zip | |
xfs: remove a racy if_bytes check in xfs_reflink_end_cow_extent
Accessing if_bytes without the ilock is racy. Remove the initial
if_bytes == 0 check in xfs_reflink_end_cow_extent and let
ext_iext_lookup_extent fail for this case after we've taken the ilock.
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
