more VFS_STATVFS(x,y,z) fallout; change them to VFS_STATVFS(x,y). (hi, pooka!)

This commit is contained in:
dogcow 2007-11-27 09:47:15 +00:00
parent 1e02f40f0f
commit 3465a006e9
6 changed files with 25 additions and 25 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: netbsd32_compat_20.c,v 1.15 2007/10/10 22:00:53 ad Exp $ */
/* $NetBSD: netbsd32_compat_20.c,v 1.16 2007/11/27 09:47:15 dogcow Exp $ */
/*
* Copyright (c) 1998, 2001 Matthew R. Green
@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_20.c,v 1.15 2007/10/10 22:00:53 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: netbsd32_compat_20.c,v 1.16 2007/11/27 09:47:15 dogcow Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -126,7 +126,7 @@ compat_20_netbsd32_getfsstat(l, v, retval)
SCARG(uap, flags) != MNT_LAZY &&
(SCARG(uap, flags) == MNT_WAIT ||
SCARG(uap, flags) == 0) &&
(error = VFS_STATVFS(mp, sp, l)) != 0) {
(error = VFS_STATVFS(mp, sp)) != 0) {
mutex_enter(&mountlist_lock);
nmp = mp->mnt_list.cqe_next;
vfs_unbusy(mp);
@ -176,7 +176,7 @@ compat_20_netbsd32_statfs(l, v, retval)
mp = nd.ni_vp->v_mount;
sp = &mp->mnt_stat;
vrele(nd.ni_vp);
if ((error = VFS_STATVFS(mp, sp, l)) != 0)
if ((error = VFS_STATVFS(mp, sp)) != 0)
return (error);
sp->f_flag = mp->mnt_flag & MNT_VISFLAGMASK;
compat_20_netbsd32_from_statvfs(sp, &s32);
@ -205,7 +205,7 @@ compat_20_netbsd32_fstatfs(l, v, retval)
return (error);
mp = ((struct vnode *)fp->f_data)->v_mount;
sp = &mp->mnt_stat;
if ((error = VFS_STATVFS(mp, sp, l)) != 0)
if ((error = VFS_STATVFS(mp, sp)) != 0)
goto out;
sp->f_flag = mp->mnt_flag & MNT_VISFLAGMASK;
compat_20_netbsd32_from_statvfs(sp, &s32);

View File

@ -1,4 +1,4 @@
/* $NetBSD: osf1_mount.c,v 1.35 2007/07/12 19:41:58 dsl Exp $ */
/* $NetBSD: osf1_mount.c,v 1.36 2007/11/27 09:47:16 dogcow Exp $ */
/*
* Copyright (c) 1999 Christopher G. Demetriou. All rights reserved.
@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: osf1_mount.c,v 1.35 2007/07/12 19:41:58 dsl Exp $");
__KERNEL_RCSID(0, "$NetBSD: osf1_mount.c,v 1.36 2007/11/27 09:47:16 dogcow Exp $");
#if defined(_KERNEL_OPT)
#include "fs_nfs.h"
@ -127,7 +127,7 @@ osf1_sys_fstatfs(l, v, retval)
return (error);
mp = ((struct vnode *)fp->f_data)->v_mount;
sp = &mp->mnt_stat;
if ((error = VFS_STATVFS(mp, sp, l)))
if ((error = VFS_STATVFS(mp, sp)))
goto out;
sp->f_flag = mp->mnt_flag & MNT_VISFLAGMASK;
osf1_cvt_statfs_from_native(sp, &osfs);
@ -168,7 +168,7 @@ osf1_sys_getfsstat(l, v, retval)
*/
if (((SCARG(uap, flags) & OSF1_MNT_NOWAIT) == 0 ||
(SCARG(uap, flags) & OSF1_MNT_WAIT)) &&
(error = VFS_STATVFS(mp, sp, l)))
(error = VFS_STATVFS(mp, sp)))
continue;
sp->f_flag = mp->mnt_flag & MNT_VISFLAGMASK;
osf1_cvt_statfs_from_native(sp, &osfs);
@ -231,7 +231,7 @@ osf1_sys_statfs(l, v, retval)
mp = nd.ni_vp->v_mount;
sp = &mp->mnt_stat;
vrele(nd.ni_vp);
if ((error = VFS_STATVFS(mp, sp, l)))
if ((error = VFS_STATVFS(mp, sp)))
return (error);
sp->f_flag = mp->mnt_flag & MNT_VISFLAGMASK;
osf1_cvt_statfs_from_native(sp, &osfs);

View File

@ -1,4 +1,4 @@
/* $NetBSD: sunos_misc.c,v 1.152 2007/10/08 15:12:05 ad Exp $ */
/* $NetBSD: sunos_misc.c,v 1.153 2007/11/27 09:47:16 dogcow Exp $ */
/*
* Copyright (c) 1992, 1993
@ -50,7 +50,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sunos_misc.c,v 1.152 2007/10/08 15:12:05 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: sunos_misc.c,v 1.153 2007/11/27 09:47:16 dogcow Exp $");
#if defined(_KERNEL_OPT)
#include "opt_nfsserver.h"
@ -974,7 +974,7 @@ sunos_sys_statfs(l, v, retval)
mp = nd.ni_vp->v_mount;
sp = &mp->mnt_stat;
vrele(nd.ni_vp);
if ((error = VFS_STATVFS(mp, sp, l)) != 0)
if ((error = VFS_STATVFS(mp, sp)) != 0)
return (error);
sp->f_flag = mp->mnt_flag & MNT_VISFLAGMASK;
return sunstatfs(sp, (void *)SCARG(uap, buf));
@ -998,7 +998,7 @@ sunos_sys_fstatfs(l, v, retval)
return (error);
mp = ((struct vnode *)fp->f_data)->v_mount;
sp = &mp->mnt_stat;
if ((error = VFS_STATVFS(mp, sp, l)) != 0)
if ((error = VFS_STATVFS(mp, sp)) != 0)
goto out;
sp->f_flag = mp->mnt_flag & MNT_VISFLAGMASK;
error = sunstatfs(sp, (void *)SCARG(uap, buf));

View File

@ -1,4 +1,4 @@
/* $NetBSD: sunos32_misc.c,v 1.51 2007/07/17 20:53:49 christos Exp $ */
/* $NetBSD: sunos32_misc.c,v 1.52 2007/11/27 09:47:16 dogcow Exp $ */
/* from :NetBSD: sunos_misc.c,v 1.107 2000/12/01 19:25:10 jdolecek Exp */
/*
@ -79,7 +79,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sunos32_misc.c,v 1.51 2007/07/17 20:53:49 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: sunos32_misc.c,v 1.52 2007/11/27 09:47:16 dogcow Exp $");
#define COMPAT_SUNOS 1
@ -1232,7 +1232,7 @@ sunos32_sys_statfs(l, v, retval)
mp = nd.ni_vp->v_mount;
sp = &mp->mnt_stat;
vrele(nd.ni_vp);
if ((error = VFS_STATVFS(mp, sp, l)) != 0)
if ((error = VFS_STATVFS(mp, sp)) != 0)
return (error);
sp->f_flag = mp->mnt_flag & MNT_VISFLAGMASK;
return sunstatfs(sp, SCARG_P32(uap, buf));
@ -1259,7 +1259,7 @@ sunos32_sys_fstatfs(l, v, retval)
return (error);
mp = ((struct vnode *)fp->f_data)->v_mount;
sp = &mp->mnt_stat;
if ((error = VFS_STATVFS(mp, sp, l)) != 0)
if ((error = VFS_STATVFS(mp, sp)) != 0)
goto out;
sp->f_flag = mp->mnt_flag & MNT_VISFLAGMASK;
error = sunstatfs(sp, SCARG_P32(uap, buf));

View File

@ -1,4 +1,4 @@
/* $NetBSD: ultrix_fs.c,v 1.42 2007/10/23 15:21:31 pooka Exp $ */
/* $NetBSD: ultrix_fs.c,v 1.43 2007/11/27 09:47:16 dogcow Exp $ */
/*
* Copyright (c) 1995, 1997 Jonathan Stone
@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ultrix_fs.c,v 1.42 2007/10/23 15:21:31 pooka Exp $");
__KERNEL_RCSID(0, "$NetBSD: ultrix_fs.c,v 1.43 2007/11/27 09:47:16 dogcow Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -270,7 +270,7 @@ ultrix_sys_getmnt(struct lwp *l, void *v, register_t *retval)
* If requested, refresh the fsstat cache.
*/
if (mntflags != MNT_WAIT &&
(error = VFS_STATVFS(mp, sp, l)) != 0)
(error = VFS_STATVFS(mp, sp)) != 0)
continue;
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: ultrix_pathname.c,v 1.28 2007/04/25 12:54:26 matt Exp $ */
/* $NetBSD: ultrix_pathname.c,v 1.29 2007/11/27 09:47:16 dogcow Exp $ */
/*
* Copyright (c) 1992, 1993
@ -59,7 +59,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ultrix_pathname.c,v 1.28 2007/04/25 12:54:26 matt Exp $");
__KERNEL_RCSID(0, "$NetBSD: ultrix_pathname.c,v 1.29 2007/11/27 09:47:16 dogcow Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -237,7 +237,7 @@ ultrix_sys_statfs(struct lwp *l, void *v, register_t *retval)
mp = nd.ni_vp->v_mount;
sp = &mp->mnt_stat;
vrele(nd.ni_vp);
if ((error = VFS_STATVFS(mp, sp, l)) != 0)
if ((error = VFS_STATVFS(mp, sp)) != 0)
return (error);
sp->f_flag = mp->mnt_flag & MNT_VISFLAGMASK;
return ultrixstatfs(sp, (void *)SCARG(uap, buf));
@ -263,7 +263,7 @@ ultrix_sys_fstatfs(struct lwp *l, void *v, register_t *retval)
return (error);
mp = ((struct vnode *)fp->f_data)->v_mount;
sp = &mp->mnt_stat;
if ((error = VFS_STATVFS(mp, sp, l)) != 0)
if ((error = VFS_STATVFS(mp, sp)) != 0)
goto out;
sp->f_flag = mp->mnt_flag & MNT_VISFLAGMASK;
error = ultrixstatfs(sp, (void *)SCARG(uap, buf));