mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
namei: Remove a now-unused variable
Approved by: so Reported by: bapt Fixes:7587f6d484("namei: Make stackable filesystems check harder for jail roots") (cherry picked from commit14ec281a09) (cherry picked from commit 3f4efe392b7039686057838d723a2d43ae144be5)
This commit is contained in:
parent
3d1e822916
commit
ec57109a0f
1 changed files with 1 additions and 3 deletions
|
|
@ -5186,16 +5186,14 @@ static int __noinline
|
|||
cache_fplookup_dotdot(struct cache_fpl *fpl)
|
||||
{
|
||||
struct nameidata *ndp;
|
||||
struct componentname *cnp;
|
||||
struct namecache *ncp;
|
||||
struct vnode *dvp;
|
||||
u_char nc_flag;
|
||||
|
||||
ndp = fpl->ndp;
|
||||
cnp = fpl->cnp;
|
||||
dvp = fpl->dvp;
|
||||
|
||||
MPASS(cache_fpl_isdotdot(cnp));
|
||||
MPASS(cache_fpl_isdotdot(fpl->cnp));
|
||||
|
||||
/*
|
||||
* XXX this is racy the same way regular lookup is
|
||||
|
|
|
|||
Loading…
Reference in a new issue