mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Use VOP_GETVOBJECT instead of accessing the member directly. This fixed
an issue with nullfs and NAMEI shared. Submitted by: Alexander Kabaev
This commit is contained in:
parent
76dcc6cba9
commit
79a3e97054
1 changed files with 1 additions and 1 deletions
|
|
@ -216,7 +216,7 @@ restart:
|
|||
#ifndef LOOKUP_EXCLUSIVE
|
||||
int flock;
|
||||
|
||||
if (!exclusive && vp->v_object == NULL)
|
||||
if (!exclusive && VOP_GETVOBJECT(vp, NULL) != 0)
|
||||
VOP_LOCK(vp, LK_UPGRADE, td);
|
||||
/*
|
||||
* In cases where the object is marked as dead object_create
|
||||
|
|
|
|||
Loading…
Reference in a new issue