mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Release and unlock vnode if resource deadlock detected.
This commit is contained in:
parent
b1b494a765
commit
3ae19dd8cd
2 changed files with 2 additions and 0 deletions
|
|
@ -150,6 +150,7 @@ nullfs_mount(mp, path, data, ndp, p)
|
|||
*/
|
||||
if (lowerrootvp == VTONULL(mp->mnt_vnodecovered)->null_lowervp) {
|
||||
NULLFSDEBUG("nullfs_mount: multi null mount?\n");
|
||||
VOP_UNLOCK(lowerrootvp, 0, p);
|
||||
return (EDEADLK);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -150,6 +150,7 @@ nullfs_mount(mp, path, data, ndp, p)
|
|||
*/
|
||||
if (lowerrootvp == VTONULL(mp->mnt_vnodecovered)->null_lowervp) {
|
||||
NULLFSDEBUG("nullfs_mount: multi null mount?\n");
|
||||
VOP_UNLOCK(lowerrootvp, 0, p);
|
||||
return (EDEADLK);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue