diff options
| author | Boris Popov <bp@FreeBSD.org> | 2000-10-22 15:40:22 +0000 |
|---|---|---|
| committer | Boris Popov <bp@FreeBSD.org> | 2000-10-22 15:40:22 +0000 |
| commit | 3ae19dd8cd416112b2d095e46f0526f3d7922ec6 (patch) | |
| tree | 169a71d48716db04a4234ad75d7fa10ec9b847d7 | |
| parent | b1b494a765b8da9063140bc8dd2a1d328a4806f4 (diff) | |
Notes
| -rw-r--r-- | sys/fs/nullfs/null_vfsops.c | 1 | ||||
| -rw-r--r-- | sys/miscfs/nullfs/null_vfsops.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/fs/nullfs/null_vfsops.c b/sys/fs/nullfs/null_vfsops.c index 45f950e17520..20c34594541e 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 45f950e17520..20c34594541e 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); } |
