summaryrefslogtreecommitdiffstats
path: root/sys/fs/nullfs
diff options
context:
space:
mode:
authorbp <bp@FreeBSD.org>2000-10-22 15:40:22 +0000
committerbp <bp@FreeBSD.org>2000-10-22 15:40:22 +0000
commitf20992328ccae8aae87c3e9afe98654280616da9 (patch)
treeff937c21f1947a577935877339a4c9309e4633f1 /sys/fs/nullfs
parenta74bc23d1f0b8bc77bc0932b3464b83bdde0e70c (diff)
downloadFreeBSD-src-f20992328ccae8aae87c3e9afe98654280616da9.zip
FreeBSD-src-f20992328ccae8aae87c3e9afe98654280616da9.tar.gz
Release and unlock vnode if resource deadlock detected.
Diffstat (limited to 'sys/fs/nullfs')
-rw-r--r--sys/fs/nullfs/null_vfsops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/fs/nullfs/null_vfsops.c b/sys/fs/nullfs/null_vfsops.c
index 45f950e..20c3459 100644
--- a/sys/fs/nullfs/null_vfsops.c
+++ b/sys/fs/nullfs/null_vfsops.c
@@ -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);
}
OpenPOWER on IntegriCloud