Source-Changes-HG archive

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

[src/netbsd-7]: src/sys/fs/puffs Pull up following revision(s) (requested by ...



details:   https://anonhg.NetBSD.org/src/rev/200c76fda3ea
branches:  netbsd-7
changeset: 798498:200c76fda3ea
user:      snj <snj%NetBSD.org@localhost>
date:      Wed Nov 05 18:16:17 2014 +0000

description:
Pull up following revision(s) (requested by manu in ticket #182):
        sys/fs/puffs/puffs_vnops.c: revision 1.195
According to pooka@'s comment, a long time ago, VOP_STRATEGY could not
fail without taking down the kernel. It seems this is not the case
anymore,
hence we can stop dropping errors in puffs_vnop_strategy()
Approved by pooka@

diffstat:

 sys/fs/puffs/puffs_vnops.c |  11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diffs (32 lines):

diff -r 87ef5a233ec6 -r 200c76fda3ea sys/fs/puffs/puffs_vnops.c
--- a/sys/fs/puffs/puffs_vnops.c        Wed Nov 05 18:11:30 2014 +0000
+++ b/sys/fs/puffs/puffs_vnops.c        Wed Nov 05 18:16:17 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: puffs_vnops.c,v 1.182.2.8 2014/11/05 18:11:31 snj Exp $        */
+/*     $NetBSD: puffs_vnops.c,v 1.182.2.9 2014/11/05 18:16:17 snj Exp $        */
 
 /*
  * Copyright (c) 2005, 2006, 2007  Antti Kantee.  All Rights Reserved.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: puffs_vnops.c,v 1.182.2.8 2014/11/05 18:11:31 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: puffs_vnops.c,v 1.182.2.9 2014/11/05 18:16:17 snj Exp $");
 
 #include <sys/param.h>
 #include <sys/buf.h>
@@ -2841,13 +2841,6 @@
                if (dobiodone == 0)
                        goto out;
 
-               /*
-                * XXXXXXXX: wrong, but kernel can't survive strategy
-                * failure currently.  Here, have one more X: X.
-                */
-               if (error != ENOMEM)
-                       error = 0;
-
                error = checkerr(pmp, error, __func__);
                if (error)
                        goto out;



Home | Main Index | Thread Index | Old Index