Release and unlock vnode if resource deadlock detected.
This commit is contained in:
parent
b1b494a765
commit
3ae19dd8cd
@ -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 New Issue
Block a user