diff options
| author | Ira Weiny <[email protected]> | 2022-12-29 22:04:46 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2023-01-04 06:08:53 +0000 |
| commit | 67fcb2c598bc7643f694e8194d5c300a52af5aa9 (patch) | |
| tree | f90664b3b60ca5d1612a3634be8d0e3d44eb6eed /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | Linux 6.2-rc2 (diff) | |
| download | kernel-67fcb2c598bc7643f694e8194d5c300a52af5aa9.tar.gz kernel-67fcb2c598bc7643f694e8194d5c300a52af5aa9.zip | |
cifs: Fix kmap_local_page() unmapping
kmap_local_page() requires kunmap_local() to unmap the mapping. In
addition memcpy_page() is provided to perform this common memcpy
pattern.
Replace the kmap_local_page() and broken kunmap() with memcpy_page()
Fixes: d406d26745ab ("cifs: skip alloc when request has no pages")
Reviewed-by: Paulo Alcantara <[email protected]>
Reviewed-by: "Fabio M. De Francesco" <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Ira Weiny <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
