diff options
author | bp <bp@FreeBSD.org> | 2000-10-22 15:40:22 +0000 |
---|---|---|
committer | bp <bp@FreeBSD.org> | 2000-10-22 15:40:22 +0000 |
commit | f20992328ccae8aae87c3e9afe98654280616da9 (patch) | |
tree | ff937c21f1947a577935877339a4c9309e4633f1 /sys/fs/nullfs | |
parent | a74bc23d1f0b8bc77bc0932b3464b83bdde0e70c (diff) | |
download | FreeBSD-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.c | 1 |
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); } |