diff options
author | Pedro Martelletto <pedro@cvs.openbsd.org> | 2005-11-30 10:35:09 +0000 |
---|---|---|
committer | Pedro Martelletto <pedro@cvs.openbsd.org> | 2005-11-30 10:35:09 +0000 |
commit | 10d2adeb43e19f56de363f71edea37dec20f5172 (patch) | |
tree | 88601e1d3284cb824cc2a8d45055cfc21ef0131b /sys/ufs/ffs | |
parent | f1d6e4b2f952c4073efea91213f22bf6f34f8d20 (diff) |
No need for vfs_busy() and vfs_unbusy() to take a process pointer
anymore. Testing by jolan@, thanks.
Diffstat (limited to 'sys/ufs/ffs')
-rw-r--r-- | sys/ufs/ffs/ffs_vfsops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c index de0db8e085b..557b3f15a03 100644 --- a/sys/ufs/ffs/ffs_vfsops.c +++ b/sys/ufs/ffs/ffs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ffs_vfsops.c,v 1.74 2005/11/08 02:29:51 pedro Exp $ */ +/* $OpenBSD: ffs_vfsops.c,v 1.75 2005/11/30 10:35:08 pedro Exp $ */ /* $NetBSD: ffs_vfsops.c,v 1.19 1996/02/09 22:22:26 christos Exp $ */ /* @@ -130,7 +130,7 @@ ffs_mountroot(void) if ((error = ffs_mountfs(rootvp, mp, p)) != 0) { mp->mnt_vfc->vfc_refcount--; - vfs_unbusy(mp, p); + vfs_unbusy(mp); free(mp, M_MOUNT); vrele(swapdev_vp); vrele(rootvp); @@ -143,7 +143,7 @@ ffs_mountroot(void) fs = ump->um_fs; (void) copystr(mp->mnt_stat.f_mntonname, fs->fs_fsmnt, MNAMELEN - 1, 0); (void)ffs_statfs(mp, &mp->mnt_stat, p); - vfs_unbusy(mp, p); + vfs_unbusy(mp); inittodr(fs->fs_time); return (0); } |