summaryrefslogtreecommitdiff
path: root/sys/isofs
diff options
context:
space:
mode:
authorPedro Martelletto <pedro@cvs.openbsd.org>2005-11-30 10:35:09 +0000
committerPedro Martelletto <pedro@cvs.openbsd.org>2005-11-30 10:35:09 +0000
commit10d2adeb43e19f56de363f71edea37dec20f5172 (patch)
tree88601e1d3284cb824cc2a8d45055cfc21ef0131b /sys/isofs
parentf1d6e4b2f952c4073efea91213f22bf6f34f8d20 (diff)
No need for vfs_busy() and vfs_unbusy() to take a process pointer
anymore. Testing by jolan@, thanks.
Diffstat (limited to 'sys/isofs')
-rw-r--r--sys/isofs/cd9660/cd9660_vfsops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/isofs/cd9660/cd9660_vfsops.c b/sys/isofs/cd9660/cd9660_vfsops.c
index 4a40ecfa85c..9237848f7f0 100644
--- a/sys/isofs/cd9660/cd9660_vfsops.c
+++ b/sys/isofs/cd9660/cd9660_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cd9660_vfsops.c,v 1.36 2005/11/09 02:38:38 pedro Exp $ */
+/* $OpenBSD: cd9660_vfsops.c,v 1.37 2005/11/30 10:35:07 pedro Exp $ */
/* $NetBSD: cd9660_vfsops.c,v 1.26 1997/06/13 15:38:58 pk Exp $ */
/*-
@@ -110,7 +110,7 @@ cd9660_mountroot()
args.flags = ISOFSMNT_ROOT;
if ((error = iso_mountfs(rootvp, mp, p, &args)) != 0) {
mp->mnt_vfc->vfc_refcount--;
- vfs_unbusy(mp, p);
+ vfs_unbusy(mp);
free(mp, M_MOUNT);
return (error);
}
@@ -118,7 +118,7 @@ cd9660_mountroot()
CIRCLEQ_INSERT_TAIL(&mountlist, mp, mnt_list);
simple_unlock(&mountlist_slock);
(void)cd9660_statfs(mp, &mp->mnt_stat, p);
- vfs_unbusy(mp, p);
+ vfs_unbusy(mp);
inittodr(0);
return (0);
}