aboutsummaryrefslogtreecommitdiffstats
path: root/fs/crypto/inline_crypt.c
diff options
context:
space:
mode:
authorEric Biggers <[email protected]>2022-08-18 22:39:03 +0000
committerEric Biggers <[email protected]>2022-08-19 22:19:55 +0000
commitc987918a3fdf2d361c48839ec324f2547418f9d6 (patch)
treefb212796d32c906a52fe8e11223b4fcc95cda6c7 /fs/crypto/inline_crypt.c
parentLinux 6.0-rc1 (diff)
downloadkernel-c987918a3fdf2d361c48839ec324f2547418f9d6.tar.gz
kernel-c987918a3fdf2d361c48839ec324f2547418f9d6.zip
fs-verity: use memcpy_from_page()
Replace extract_hash() with the memcpy_from_page() helper function. This is simpler, and it has the side effect of replacing the use of kmap_atomic() with its recommended replacement kmap_local_page(). Signed-off-by: Eric Biggers <[email protected]> Reviewed-by: Fabio M. De Francesco <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'fs/crypto/inline_crypt.c')
0 files changed, 0 insertions, 0 deletions