Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/nfs remove an unused instance of VOP_UPDATE.
details: https://anonhg.NetBSD.org/src/rev/81e5da50e729
branches: trunk
changeset: 567004:81e5da50e729
user: yamt <yamt%NetBSD.org@localhost>
date: Thu May 27 12:55:07 2004 +0000
description:
remove an unused instance of VOP_UPDATE.
diffstat:
sys/nfs/nfs_vnops.c | 27 ++-------------------------
sys/nfs/nfsnode.h | 3 +--
2 files changed, 3 insertions(+), 27 deletions(-)
diffs (86 lines):
diff -r 6fa90416f27c -r 81e5da50e729 sys/nfs/nfs_vnops.c
--- a/sys/nfs/nfs_vnops.c Thu May 27 12:53:25 2004 +0000
+++ b/sys/nfs/nfs_vnops.c Thu May 27 12:55:07 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nfs_vnops.c,v 1.200 2004/05/23 05:53:01 christos Exp $ */
+/* $NetBSD: nfs_vnops.c,v 1.201 2004/05/27 12:55:07 yamt Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nfs_vnops.c,v 1.200 2004/05/23 05:53:01 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nfs_vnops.c,v 1.201 2004/05/27 12:55:07 yamt Exp $");
#include "opt_nfs.h"
#include "opt_uvmhist.h"
@@ -133,7 +133,6 @@
{ &vop_reallocblks_desc, nfs_reallocblks }, /* reallocblks */
{ &vop_vfree_desc, nfs_vfree }, /* vfree */
{ &vop_truncate_desc, nfs_truncate }, /* truncate */
- { &vop_update_desc, nfs_update }, /* update */
{ &vop_bwrite_desc, nfs_bwrite }, /* bwrite */
{ &vop_getpages_desc, nfs_getpages }, /* getpages */
{ &vop_putpages_desc, genfs_putpages }, /* putpages */
@@ -191,7 +190,6 @@
{ &vop_reallocblks_desc, spec_reallocblks }, /* reallocblks */
{ &vop_vfree_desc, spec_vfree }, /* vfree */
{ &vop_truncate_desc, spec_truncate }, /* truncate */
- { &vop_update_desc, nfs_update }, /* update */
{ &vop_bwrite_desc, vn_bwrite }, /* bwrite */
{ &vop_getpages_desc, spec_getpages }, /* getpages */
{ &vop_putpages_desc, spec_putpages }, /* putpages */
@@ -246,7 +244,6 @@
{ &vop_reallocblks_desc, fifo_reallocblks }, /* reallocblks */
{ &vop_vfree_desc, fifo_vfree }, /* vfree */
{ &vop_truncate_desc, fifo_truncate }, /* truncate */
- { &vop_update_desc, nfs_update }, /* update */
{ &vop_bwrite_desc, vn_bwrite }, /* bwrite */
{ &vop_putpages_desc, fifo_putpages }, /* putpages */
{ NULL, NULL }
@@ -3456,26 +3453,6 @@
}
/*
- * NFS update.
- */
-int
-nfs_update(v)
- void *v;
-#if 0
- struct vop_update_args /* {
- struct vnode *a_vp;
- struct timespec *a_ta;
- struct timespec *a_tm;
- int a_waitfor;
- } */ *ap = v;
-#endif
-{
-
- /* Use nfs_setattr */
- return (EOPNOTSUPP);
-}
-
-/*
* Just call bwrite().
*/
int
diff -r 6fa90416f27c -r 81e5da50e729 sys/nfs/nfsnode.h
--- a/sys/nfs/nfsnode.h Thu May 27 12:53:25 2004 +0000
+++ b/sys/nfs/nfsnode.h Thu May 27 12:55:07 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nfsnode.h,v 1.46 2004/03/12 16:52:38 yamt Exp $ */
+/* $NetBSD: nfsnode.h,v 1.47 2004/05/27 12:55:07 yamt Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -274,7 +274,6 @@
#define nfs_reallocblks genfs_eopnotsupp
#define nfs_vfree genfs_nullop
int nfs_truncate __P((void *));
-int nfs_update __P((void *));
int nfs_getpages __P((void *));
int nfs_putpages __P((void *));
int nfs_gop_write(struct vnode *, struct vm_page **, int, int);
Home |
Main Index |
Thread Index |
Old Index