summaryrefslogtreecommitdiff
path: root/certs/default_x509.genkey
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2022-08-19 01:39:03 +0300
committerEric Biggers <ebiggers@google.com>2022-08-20 01:19:55 +0300
commitc987918a3fdf2d361c48839ec324f2547418f9d6 (patch)
treefb212796d32c906a52fe8e11223b4fcc95cda6c7 /certs/default_x509.genkey
parent568035b01cfb107af8d2e4bd2fb9aea22cf5b868 (diff)
downloadlinux-c987918a3fdf2d361c48839ec324f2547418f9d6.tar.xz
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 <ebiggers@google.com> Reviewed-by: Fabio M. De Francesco <fmdefrancesco@gmail.com> Link: https://lore.kernel.org/r/20220818223903.43710-1-ebiggers@kernel.org
Diffstat (limited to 'certs/default_x509.genkey')
0 files changed, 0 insertions, 0 deletions