svn commit: r364281 - head/sys/kern
Mateusz Guzik
mjg at FreeBSD.org
Sun Aug 16 18:33:25 UTC 2020
Author: mjg
Date: Sun Aug 16 18:33:24 2020
New Revision: 364281
URL: https://svnweb.freebsd.org/changeset/base/364281
Log:
cache: add NOCAPCHECK to the list of supported flags for lockless lookup
It is de facto supported in that lockless lookup does not do any capability
checks.
Modified:
head/sys/kern/vfs_cache.c
Modified: head/sys/kern/vfs_cache.c
==============================================================================
--- head/sys/kern/vfs_cache.c Sun Aug 16 18:27:42 2020 (r364280)
+++ head/sys/kern/vfs_cache.c Sun Aug 16 18:33:24 2020 (r364281)
@@ -3144,7 +3144,7 @@ cache_fpl_handled_impl(struct cache_fpl *fpl, int erro
#define CACHE_FPL_SUPPORTED_CN_FLAGS \
(LOCKLEAF | LOCKPARENT | WANTPARENT | NOCACHE | FOLLOW | LOCKSHARED | SAVENAME | \
- SAVESTART | WILLBEDIR | ISOPEN | NOMACCHECK | AUDITVNODE1 | AUDITVNODE2)
+ SAVESTART | WILLBEDIR | ISOPEN | NOMACCHECK | AUDITVNODE1 | AUDITVNODE2 | NOCAPCHECK)
#define CACHE_FPL_INTERNAL_CN_FLAGS \
(ISDOTDOT | MAKEENTRY | ISLASTCN)
More information about the svn-src-all
mailing list