Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/nfs revive spec vop_bwrite as it's needed for block devi...



details:   https://anonhg.NetBSD.org/src/rev/1090d9dcfb17
branches:  trunk
changeset: 572082:1090d9dcfb17
user:      yamt <yamt%NetBSD.org@localhost>
date:      Fri Dec 17 03:31:20 2004 +0000

description:
revive spec vop_bwrite as it's needed for block devices.
PR/28684 from Jukka Salmi.

diffstat:

 sys/nfs/nfs_vnops.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 418a35f31b5c -r 1090d9dcfb17 sys/nfs/nfs_vnops.c
--- a/sys/nfs/nfs_vnops.c       Thu Dec 16 21:51:04 2004 +0000
+++ b/sys/nfs/nfs_vnops.c       Fri Dec 17 03:31:20 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nfs_vnops.c,v 1.213 2004/12/14 09:15:23 yamt Exp $     */
+/*     $NetBSD: nfs_vnops.c,v 1.214 2004/12/17 03:31:20 yamt Exp $     */
 
 /*
  * Copyright (c) 1989, 1993
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nfs_vnops.c,v 1.213 2004/12/14 09:15:23 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nfs_vnops.c,v 1.214 2004/12/17 03:31:20 yamt Exp $");
 
 #include "opt_inet.h"
 #include "opt_nfs.h"
@@ -191,7 +191,7 @@
        { &vop_reallocblks_desc, genfs_badop },         /* reallocblks */
        { &vop_vfree_desc, genfs_badop },               /* vfree */
        { &vop_truncate_desc, genfs_badop },            /* truncate */
-       { &vop_bwrite_desc, genfs_badop },              /* bwrite */
+       { &vop_bwrite_desc, spec_bwrite },              /* bwrite */
        { &vop_getpages_desc, spec_getpages },          /* getpages */
        { &vop_putpages_desc, spec_putpages },          /* putpages */
        { NULL, NULL }



Home | Main Index | Thread Index | Old Index