aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/verity.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2022-12-14 14:43:01 -0800
committerEric Biggers <ebiggers@google.com>2023-01-01 15:46:48 -0800
commita6528a960b78715d4c3d2c9cda85714b15a0faa4 (patch)
tree3541aba216f638942ae2bca7667397efdb4a412a /fs/btrfs/verity.c
parent88603b6dc419445847923fcb7fe5080067a30f98 (diff)
fsverity: optimize fsverity_file_open() on non-verity files
Make fsverity_file_open() an inline function that does the IS_VERITY() check, then (if needed) calls __fsverity_file_open() to do the real work. This reduces the overhead on non-verity files. Signed-off-by: Eric Biggers <ebiggers@google.com> Acked-by: Dave Chinner <dchinner@redhat.com> Link: https://lore.kernel.org/r/20221214224304.145712-2-ebiggers@kernel.org
Diffstat (limited to 'fs/btrfs/verity.c')
0 files changed, 0 insertions, 0 deletions