Module Name:    src
Committed By:   manu
Date:           Fri Oct 31 13:51:33 UTC 2014

Modified Files:
        src/sys/fs/puffs: puffs_vnops.c

Log Message:
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@


To generate a diff of this commit:
cvs rdiff -u -r1.194 -r1.195 src/sys/fs/puffs/puffs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/fs/puffs/puffs_vnops.c
diff -u src/sys/fs/puffs/puffs_vnops.c:1.194 src/sys/fs/puffs/puffs_vnops.c:1.195
--- src/sys/fs/puffs/puffs_vnops.c:1.194	Tue Oct  7 12:58:09 2014
+++ src/sys/fs/puffs/puffs_vnops.c	Fri Oct 31 13:51:33 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: puffs_vnops.c,v 1.194 2014/10/07 12:58:09 he Exp $	*/
+/*	$NetBSD: puffs_vnops.c,v 1.195 2014/10/31 13:51:33 manu 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.194 2014/10/07 12:58:09 he Exp $");
+__KERNEL_RCSID(0, "$NetBSD: puffs_vnops.c,v 1.195 2014/10/31 13:51:33 manu Exp $");
 
 #include <sys/param.h>
 #include <sys/buf.h>
@@ -2765,13 +2765,6 @@ puffs_vnop_strategy(void *v)
 		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;

Reply via email to