aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorEric Biggers <[email protected]>2022-08-18 15:39:03 -0700
committerEric Biggers <[email protected]>2022-08-19 15:19:55 -0700
commitc987918a3fdf2d361c48839ec324f2547418f9d6 (patch)
treefb212796d32c906a52fe8e11223b4fcc95cda6c7 /scripts/generate_rust_analyzer.py
parent568035b01cfb107af8d2e4bd2fb9aea22cf5b868 (diff)
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions