mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
vfs cache: Add NAMEILOOKUP to the whitelist of fastpath lookup flags
Otherwise the lockless name lookup path is inadvertently disabled since NAMEILOOKUP isn't recognized. Approved by: so Reviewed by: olce, kib Fixes:7587f6d484("namei: Make stackable filesystems check harder for jail roots") Differential Revision: https://reviews.freebsd.org/D50532 (cherry picked from commitf415895300) (cherry picked from commit 031cd548775c26314e6ae9cad35b01c5ab1aea6c)
This commit is contained in:
parent
ec57109a0f
commit
0b5aa71186
1 changed files with 1 additions and 1 deletions
|
|
@ -4373,7 +4373,7 @@ cache_fpl_terminated(struct cache_fpl *fpl)
|
|||
(NC_NOMAKEENTRY | NC_KEEPPOSENTRY | LOCKLEAF | LOCKPARENT | WANTPARENT | \
|
||||
FAILIFEXISTS | FOLLOW | EMPTYPATH | LOCKSHARED | ISRESTARTED | WILLBEDIR | \
|
||||
ISOPEN | NOMACCHECK | AUDITVNODE1 | AUDITVNODE2 | NOCAPCHECK | OPENREAD | \
|
||||
OPENWRITE | WANTIOCTLCAPS)
|
||||
OPENWRITE | WANTIOCTLCAPS | NAMEILOOKUP)
|
||||
|
||||
#define CACHE_FPL_INTERNAL_CN_FLAGS \
|
||||
(ISDOTDOT | MAKEENTRY | ISLASTCN)
|
||||
|
|
|
|||
Loading…
Reference in a new issue