f2fs: use memcpy_{to,from}_page() where possible
stable inclusion from stable-v5.10.173 commit 33909b1a646d1f31d631ff4a77a7303317e4a82b category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8BFR3 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=33909b1a646d1f31d631ff4a77a7303317e4a82b -------------------------------- [ Upstream commit b87846bd ] This is simpler, and as a side effect it replaces several uses of kmap_atomic() with its recommended replacement kmap_local_page(). Signed-off-by:Eric Biggers <ebiggers@google.com> Reviewed-by:
Fabio M. De Francesco <fmdefrancesco@gmail.com> Reviewed-by:
Chao Yu <chao@kernel.org> Signed-off-by:
Jaegeuk Kim <jaegeuk@kernel.org> Stable-dep-of: b1b98967 ("fs: f2fs: initialize fsdata in pagecache_write()") Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment