diff options
author | Eric Biggers <[email protected]> | 2022-12-14 14:43:02 -0800 |
---|---|---|
committer | Eric Biggers <[email protected]> | 2023-01-01 15:46:48 -0800 |
commit | 01d90c07a592b532c7a673dfd8baa6d6e496273d (patch) | |
tree | cc7c24c3f7b9ea47812358d6acabd5e60e6115d2 /scripts/gdb/linux/modules.py | |
parent | a6528a960b78715d4c3d2c9cda85714b15a0faa4 (diff) |
fsverity: optimize fsverity_prepare_setattr() on non-verity files
Make fsverity_prepare_setattr() an inline function that does the
IS_VERITY() check, then (if needed) calls __fsverity_prepare_setattr()
to do the real work. This reduces the overhead on non-verity files.
Signed-off-by: Eric Biggers <[email protected]>
Acked-by: Dave Chinner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions