mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-30 21:54:50 +00:00
Release and unlock vnode if resource deadlock detected.
This commit is contained in:
parent
b1b494a765
commit
3ae19dd8cd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=67439
|
@ -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