summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Popov <bp@FreeBSD.org>2000-10-22 15:40:22 +0000
committerBoris Popov <bp@FreeBSD.org>2000-10-22 15:40:22 +0000
commit3ae19dd8cd416112b2d095e46f0526f3d7922ec6 (patch)
tree169a71d48716db04a4234ad75d7fa10ec9b847d7
parentb1b494a765b8da9063140bc8dd2a1d328a4806f4 (diff)
Notes
-rw-r--r--sys/fs/nullfs/null_vfsops.c1
-rw-r--r--sys/miscfs/nullfs/null_vfsops.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/fs/nullfs/null_vfsops.c b/sys/fs/nullfs/null_vfsops.c
index 45f950e175200..20c34594541ea 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);
}
diff --git a/sys/miscfs/nullfs/null_vfsops.c b/sys/miscfs/nullfs/null_vfsops.c
index 45f950e175200..20c34594541ea 100644
--- a/sys/miscfs/nullfs/null_vfsops.c
+++ b/sys/miscfs/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);
}