summaryrefslogtreecommitdiff
path: root/fs/cifs/dfs.c
diff options
context:
space:
mode:
authorIra Weiny <ira.weiny@intel.com>2022-12-30 01:04:46 +0300
committerSteve French <stfrench@microsoft.com>2023-01-04 09:08:53 +0300
commit67fcb2c598bc7643f694e8194d5c300a52af5aa9 (patch)
treef90664b3b60ca5d1612a3634be8d0e3d44eb6eed /fs/cifs/dfs.c
parent88603b6dc419445847923fcb7fe5080067a30f98 (diff)
downloadlinux-67fcb2c598bc7643f694e8194d5c300a52af5aa9.tar.xz
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 <pc@cjr.nz> Reviewed-by: "Fabio M. De Francesco" <fmdefrancesco@gmail.com> Cc: linux-cifs@vger.kernel.org Cc: samba-technical@lists.samba.org Signed-off-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/dfs.c')
0 files changed, 0 insertions, 0 deletions