svn commit: r363703 - head/sys/kern
Mateusz Guzik
mjg at FreeBSD.org
Thu Jul 30 15:43:17 UTC 2020
Author: mjg
Date: Thu Jul 30 15:43:16 2020
New Revision: 363703
URL: https://svnweb.freebsd.org/changeset/base/363703
Log:
vfs: add NOMACCHECK and AUDITVNODE2 to lockless lookup
They are both nops since lookup does not progress with either mac or audit enabled.
Tested by: pho
Modified:
head/sys/kern/vfs_cache.c
Modified: head/sys/kern/vfs_cache.c
==============================================================================
--- head/sys/kern/vfs_cache.c Thu Jul 30 14:50:43 2020 (r363702)
+++ head/sys/kern/vfs_cache.c Thu Jul 30 15:43:16 2020 (r363703)
@@ -3002,7 +3002,8 @@ cache_fpl_handled_impl(struct cache_fpl *fpl, int erro
#define cache_fpl_handled(x, e) cache_fpl_handled_impl((x), (e), __LINE__)
#define CACHE_FPL_SUPPORTED_CN_FLAGS \
- (LOCKLEAF | FOLLOW | LOCKSHARED | SAVENAME | ISOPEN | AUDITVNODE1)
+ (LOCKLEAF | FOLLOW | LOCKSHARED | SAVENAME | ISOPEN | NOMACCHECK | \
+ AUDITVNODE1 | AUDITVNODE2)
static bool
cache_can_fplookup(struct cache_fpl *fpl)
More information about the svn-src-head
mailing list