Source-Changes-HG archive

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

[src/yamt-uio_vmspace]: src/sys/dev adapt VND_COMPRESSION.



details:   https://anonhg.NetBSD.org/src/rev/4dc6f4a43914
branches:  yamt-uio_vmspace
changeset: 586705:4dc6f4a43914
user:      yamt <yamt%NetBSD.org@localhost>
date:      Thu Feb 02 14:44:35 2006 +0000

description:
adapt VND_COMPRESSION.

diffstat:

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

diffs (27 lines):

diff -r 6130a56630e2 -r 4dc6f4a43914 sys/dev/vnd.c
--- a/sys/dev/vnd.c     Wed Feb 01 14:51:24 2006 +0000
+++ b/sys/dev/vnd.c     Thu Feb 02 14:44:35 2006 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vnd.c,v 1.125.2.3 2006/02/01 14:51:48 yamt Exp $       */
+/*     $NetBSD: vnd.c,v 1.125.2.4 2006/02/02 14:44:35 yamt Exp $       */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -133,7 +133,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vnd.c,v 1.125.2.3 2006/02/01 14:51:48 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vnd.c,v 1.125.2.4 2006/02/02 14:44:35 yamt Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "fs_nfs.h"
@@ -1603,7 +1603,7 @@
 
        /* set up constants for data move */
        auio.uio_rw = UIO_READ;
-       auio.uio_segflg = UIO_SYSSPACE;
+       UIO_SETUP_SYSSPACE(&auio);
 
        /* read, and transfer the data */
        addr = bp->b_data;



Home | Main Index | Thread Index | Old Index