HomeFreeBSD

vfs_lookup.c: only call ktrcapfail() if KTRACE is enabled

Description

vfs_lookup.c: only call ktrcapfail() if KTRACE is enabled

Reviewed by: emaste, imp, markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D44931

Details

Provenance
kibAuthored on Apr 24 2024, 7:06 PM
Reviewer
emaste
Differential Revision
D44931: vfs_lookup.c: only call ktrcapfail() if KTRACE is enabled
Parents
rG66df81021e54: sys/namei.h: move NI_CAP_VIOLATION() macro from namei.h to vfs_lookup.c
Branches
Unknown
Tags
Unknown