diff options
author | David Sterba <dsterba@suse.com> | 2022-07-12 23:30:05 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-08-01 19:53:31 +0200 |
commit | 5abbb7b92820cf6ba9154a35cff6d64b62d7f273 (patch) | |
tree | f8a3cb1950ed9e855420ffbb31a7c59fe6849e13 /fs/affs/amigaffs.c | |
parent | Linux 5.19-rc6 (diff) | |
download | linux-dev-5abbb7b92820cf6ba9154a35cff6d64b62d7f273.tar.xz linux-dev-5abbb7b92820cf6ba9154a35cff6d64b62d7f273.zip |
affs: use memcpy_to_page and remove replace kmap_atomic()
The use of kmap() is being deprecated in favor of kmap_local_page()
where it is feasible. For kmap around a memcpy there's a convenience
helper memcpy_to_page that also makes the flush_dcache_page() redundant.
CC: Fabio M. De Francesco <fmdefrancesco@gmail.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/affs/amigaffs.c')
0 files changed, 0 insertions, 0 deletions