aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorDavid Howells <[email protected]>2024-01-15 14:46:35 +0000
committerGao Xiang <[email protected]>2024-01-15 15:52:52 +0000
commit2b872b0f466d2acb4491da845c66b49246d5cdf9 (patch)
tree0ec4c31c036754ed13c62b2a8de0bb9f2ed69f67 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parenterofs: fix inconsistent per-file compression format (diff)
downloadkernel-2b872b0f466d2acb4491da845c66b49246d5cdf9.tar.gz
kernel-2b872b0f466d2acb4491da845c66b49246d5cdf9.zip
erofs: Don't use certain unnecessary folio_*() functions
Filesystems should use folio->index and folio->mapping, instead of folio_index(folio), folio_mapping() and folio_file_mapping() since they know that it's in the pagecache. Change this automagically with: perl -p -i -e 's/folio_mapping[(]([^)]*)[)]/\1->mapping/g' fs/erofs/*.c perl -p -i -e 's/folio_file_mapping[(]([^)]*)[)]/\1->mapping/g' fs/erofs/*.c perl -p -i -e 's/folio_index[(]([^)]*)[)]/\1->index/g' fs/erofs/*.c Reported-by: Matthew Wilcox <[email protected]> Signed-off-by: David Howells <[email protected]> Reviewed-by: Jeff Layton <[email protected]> Cc: Chao Yu <[email protected]> Cc: Yue Hu <[email protected]> Cc: Jeffle Xu <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Gao Xiang <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions