diff options
author | mux <mux@FreeBSD.org> | 2002-04-03 12:19:03 +0000 |
---|---|---|
committer | mux <mux@FreeBSD.org> | 2002-04-03 12:19:03 +0000 |
commit | 9effffd331eb7f6952d282370c3d2c68090575b4 (patch) | |
tree | 9bada9a66596f006c39d7521e35623c0fdd1bc63 /sys/kern | |
parent | d8ffece3c4280cbeb3cd3b6334f604b16e0e6c66 (diff) | |
download | FreeBSD-src-9effffd331eb7f6952d282370c3d2c68090575b4.zip FreeBSD-src-9effffd331eb7f6952d282370c3d2c68090575b4.tar.gz |
Add two forgotten vfs_unbusy() calls, in vfs_mount() and vfs_nmount().
Reviewed by: phk
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/vfs_extattr.c | 2 | ||||
-rw-r--r-- | sys/kern/vfs_syscalls.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/kern/vfs_extattr.c b/sys/kern/vfs_extattr.c index 3ecd199..4308ec6 100644 --- a/sys/kern/vfs_extattr.c +++ b/sys/kern/vfs_extattr.c @@ -550,6 +550,7 @@ update: if (mp->mnt_op->vfs_mount != NULL) { printf("%s doesn't support the new mount syscall\n", mp->mnt_vfc->vfc_name); + vfs_unbusy(mp, td); vput(vp); error = EOPNOTSUPP; goto bad; @@ -888,6 +889,7 @@ update: if (mp->mnt_op->vfs_mount == NULL) { printf("%s doesn't support the old mount syscall\n", mp->mnt_vfc->vfc_name); + vfs_unbusy(mp, td); vput(vp); return (EOPNOTSUPP); } diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c index 3ecd199..4308ec6 100644 --- a/sys/kern/vfs_syscalls.c +++ b/sys/kern/vfs_syscalls.c @@ -550,6 +550,7 @@ update: if (mp->mnt_op->vfs_mount != NULL) { printf("%s doesn't support the new mount syscall\n", mp->mnt_vfc->vfc_name); + vfs_unbusy(mp, td); vput(vp); error = EOPNOTSUPP; goto bad; @@ -888,6 +889,7 @@ update: if (mp->mnt_op->vfs_mount == NULL) { printf("%s doesn't support the old mount syscall\n", mp->mnt_vfc->vfc_name); + vfs_unbusy(mp, td); vput(vp); return (EOPNOTSUPP); } |