diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2024-05-30 21:20:53 +0100 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2024-05-31 12:31:39 +0200 |
| commit | 263cf578049708a115b3ca58e46b7e5d20763866 (patch) | |
| tree | a343aa16e58194728663cbb9e2b4ba9f5642b678 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | |
| parent | 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 (diff) | |
befs: Convert befs_symlink_read_folio() to use folio_end_read()
This is slightly more efficient than separate calls to
folio_mark_uptodate() and folio_unlock(), and it's easier to read.
Get rid of the call to folio_set_error() as nobody will check this flag.
Cc: Luis de Bethencourt <[email protected]>
Cc: Salah Triki <[email protected]>
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions