Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/miscfs/kernfs/kernfs_vfsops.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/miscfs/kernfs/kernfs_vfsops.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.72.4.2 retrieving revision 1.73 diff -u -p -r1.72.4.2 -r1.73 --- src/sys/miscfs/kernfs/kernfs_vfsops.c 2006/12/10 07:18:59 1.72.4.2 +++ src/sys/miscfs/kernfs/kernfs_vfsops.c 2006/10/12 01:32:26 1.73 @@ -1,4 +1,4 @@ -/* $NetBSD: kernfs_vfsops.c,v 1.72.4.2 2006/12/10 07:18:59 yamt Exp $ */ +/* $NetBSD: kernfs_vfsops.c,v 1.73 2006/10/12 01:32:26 christos Exp $ */ /* * Copyright (c) 1992, 1993, 1995 @@ -39,7 +39,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: kernfs_vfsops.c,v 1.72.4.2 2006/12/10 07:18:59 yamt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kernfs_vfsops.c,v 1.73 2006/10/12 01:32:26 christos Exp $"); #ifdef _KERNEL_OPT #include "opt_compat_netbsd.h" @@ -127,8 +127,8 @@ kernfs_get_rrootdev() * Mount the Kernel params filesystem */ int -kernfs_mount(struct mount *mp, const char *path, void *data, - struct nameidata *ndp, struct lwp *l) +kernfs_mount(struct mount *mp, const char *path, void *data __unused, + struct nameidata *ndp __unused, struct lwp *l) { int error = 0; struct kernfs_mount *fmp; @@ -167,15 +167,15 @@ kernfs_mount(struct mount *mp, const cha } int -kernfs_start(struct mount *mp, int flags, - struct lwp *l) +kernfs_start(struct mount *mp __unused, int flags __unused, + struct lwp *l __unused) { return (0); } int -kernfs_unmount(struct mount *mp, int mntflags, struct lwp *l) +kernfs_unmount(struct mount *mp, int mntflags, struct lwp *l __unused) { int error; int flags = 0; @@ -205,15 +205,15 @@ kernfs_root(mp, vpp) } int -kernfs_quotactl(struct mount *mp, int cmd, uid_t uid, - void *arg, struct lwp *l) +kernfs_quotactl(struct mount *mp __unused, int cmd __unused, uid_t uid __unused, + void *arg __unused, struct lwp *l __unused) { return (EOPNOTSUPP); } int -kernfs_statvfs(struct mount *mp, struct statvfs *sbp, struct lwp *l) +kernfs_statvfs(struct mount *mp, struct statvfs *sbp, struct lwp *l __unused) { sbp->f_bsize = DEV_BSIZE; @@ -233,8 +233,8 @@ kernfs_statvfs(struct mount *mp, struct /*ARGSUSED*/ int -kernfs_sync(struct mount *mp, int waitfor, - kauth_cred_t uc, struct lwp *l) +kernfs_sync(struct mount *mp __unused, int waitfor __unused, + kauth_cred_t uc __unused, struct lwp *l __unused) { return (0); @@ -245,8 +245,8 @@ kernfs_sync(struct mount *mp, int waitfo * Currently unsupported. */ int -kernfs_vget(struct mount *mp, ino_t ino, - struct vnode **vpp) +kernfs_vget(struct mount *mp __unused, ino_t ino __unused, + struct vnode **vpp __unused) { return (EOPNOTSUPP); @@ -290,8 +290,8 @@ struct vfsops kernfs_vfsops = { kernfs_statvfs, kernfs_sync, kernfs_vget, - (void *)eopnotsupp, /* vfs_fhtovp */ - (void *)eopnotsupp, /* vfs_vptofh */ + NULL, /* vfs_fhtovp */ + NULL, /* vfs_vptofh */ kernfs_init, kernfs_reinit, kernfs_done,