aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorDarrick J. Wong <[email protected]>2023-11-20 18:31:38 +0000
committerChandan Babu R <[email protected]>2023-11-22 18:09:27 +0000
commited17f7da5f0c8b65b7b5f7c98beb0aadbc0546ee (patch)
tree163efb9046eb87b57a2210edbb9cd82b0af295ca /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentLinux 6.7-rc2 (diff)
downloadkernel-ed17f7da5f0c8b65b7b5f7c98beb0aadbc0546ee.tar.gz
kernel-ed17f7da5f0c8b65b7b5f7c98beb0aadbc0546ee.zip
xfs: clean up dqblk extraction
Since the introduction of xfs_dqblk in V5, xfs really ought to find the dqblk pointer from the dquot buffer, then compute the xfs_disk_dquot pointer from the dqblk pointer. Fix the open-coded xfs_buf_offset calls and do the type checking in the correct order. Note that this has made no practical difference since the start of the xfs_disk_dquot is coincident with the start of the xfs_dqblk. Signed-off-by: Darrick J. Wong <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Chandan Babu R <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions