Source-Changes-HG archive

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

[src/trunk]: src/sys/miscfs/deadfs Use vn_bwrite, not genfs_nullop, for VOP_B...



details:   https://anonhg.NetBSD.org/src/rev/5208f65bbc4e
branches:  trunk
changeset: 745006:5208f65bbc4e
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Thu Feb 20 15:48:05 2020 +0000

description:
Use vn_bwrite, not genfs_nullop, for VOP_BWRITE.

VOP_BWRITE is responsible for calling biodone; can't just leave it
hanging.

XXX pullup

diffstat:

 sys/miscfs/deadfs/dead_vnops.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 670ada55a723 -r 5208f65bbc4e sys/miscfs/deadfs/dead_vnops.c
--- a/sys/miscfs/deadfs/dead_vnops.c    Thu Feb 20 15:04:53 2020 +0000
+++ b/sys/miscfs/deadfs/dead_vnops.c    Thu Feb 20 15:48:05 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dead_vnops.c,v 1.61 2017/04/26 03:02:49 riastradh Exp $        */
+/*     $NetBSD: dead_vnops.c,v 1.62 2020/02/20 15:48:05 riastradh Exp $        */
 
 /*
  * Copyright (c) 1989, 1993
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dead_vnops.c,v 1.61 2017/04/26 03:02:49 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dead_vnops.c,v 1.62 2020/02/20 15:48:05 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -48,7 +48,7 @@
 /*
  * Prototypes for dead operations on vnodes.
  */
-#define dead_bwrite    genfs_nullop
+#define        dead_bwrite     vn_bwrite
 int    dead_lookup(void *);
 int    dead_open(void *);
 #define dead_close     genfs_nullop



Home | Main Index | Thread Index | Old Index