diff options
-rw-r--r-- | sys/fs/nullfs/null_vfsops.c | 2 | ||||
-rw-r--r-- | sys/miscfs/nullfs/null_vfsops.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/nullfs/null_vfsops.c b/sys/fs/nullfs/null_vfsops.c index 20c3459..6213a6b 100644 --- a/sys/fs/nullfs/null_vfsops.c +++ b/sys/fs/nullfs/null_vfsops.c @@ -150,7 +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); + vput(lowerrootvp); return (EDEADLK); } diff --git a/sys/miscfs/nullfs/null_vfsops.c b/sys/miscfs/nullfs/null_vfsops.c index 20c3459..6213a6b 100644 --- a/sys/miscfs/nullfs/null_vfsops.c +++ b/sys/miscfs/nullfs/null_vfsops.c @@ -150,7 +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); + vput(lowerrootvp); return (EDEADLK); } |