Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm return the real error from VOP_GETPAGES().



details:   https://anonhg.NetBSD.org/src/rev/240a35591bb1
branches:  trunk
changeset: 507223:240a35591bb1
user:      chs <chs%NetBSD.org@localhost>
date:      Sat Mar 17 04:01:02 2001 +0000

description:
return the real error from VOP_GETPAGES().

diffstat:

 sys/uvm/uvm_bio.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r c7fca451b80e -r 240a35591bb1 sys/uvm/uvm_bio.c
--- a/sys/uvm/uvm_bio.c Sat Mar 17 02:26:48 2001 +0000
+++ b/sys/uvm/uvm_bio.c Sat Mar 17 04:01:02 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_bio.c,v 1.9 2001/03/15 06:10:56 chs Exp $  */
+/*     $NetBSD: uvm_bio.c,v 1.10 2001/03/17 04:01:02 chs Exp $ */
 
 /* 
  * Copyright (c) 1998 Chuck Silvers.
@@ -288,7 +288,7 @@
                goto again;
        }
        if (error) {
-               return EIO;
+               return error;
        }
        if (npages == 0) {
                return 0;



Home | Main Index | Thread Index | Old Index