diff options
| author | Eric Biggers <[email protected]> | 2022-08-18 22:39:03 +0000 |
|---|---|---|
| committer | Eric Biggers <[email protected]> | 2022-08-19 22:19:55 +0000 |
| commit | c987918a3fdf2d361c48839ec324f2547418f9d6 (patch) | |
| tree | fb212796d32c906a52fe8e11223b4fcc95cda6c7 /fs/crypto/inline_crypt.c | |
| parent | Linux 6.0-rc1 (diff) | |
| download | kernel-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
