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)
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to