aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2023-12-20 06:35:03 +0000
committerChandan Babu R <[email protected]>2023-12-29 08:07:05 +0000
commit378b6aef9de0f7c3d0de309ecc61c11eb29e57da (patch)
tree42206ac51bc6340ac4cbf1e47b1e5fe72500130c /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentxfs: remove xfs_attr_sf_hdr_t (diff)
downloadkernel-378b6aef9de0f7c3d0de309ecc61c11eb29e57da.tar.gz
kernel-378b6aef9de0f7c3d0de309ecc61c11eb29e57da.zip
xfs: turn the XFS_DA_OP_REPLACE checks in xfs_attr_shortform_addname into asserts
Since commit deed9512872d ("xfs: Check for -ENOATTR or -EEXIST"), the high-level attr code does a lookup for any attr we're trying to set, and does the checks to handle the create vs replace cases, which thus never hit the low-level attr code. Turn the checks in xfs_attr_shortform_addname as they must never trip. 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