Module Name: src Committed By: msaitoh Date: Sun Nov 9 10:06:34 UTC 2014
Modified Files: src/lib/libperfuse [netbsd-7]: ops.c Log Message: Pull up following revision(s) (requested by manu in ticket #192): lib/libperfuse/ops.c: revision 1.80 Restore build with -DDEBUG, and avoid a spurious diagnostic error with -DDEBUG To generate a diff of this commit: cvs rdiff -u -r1.66.2.11 -r1.66.2.12 src/lib/libperfuse/ops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libperfuse/ops.c diff -u src/lib/libperfuse/ops.c:1.66.2.11 src/lib/libperfuse/ops.c:1.66.2.12 --- src/lib/libperfuse/ops.c:1.66.2.11 Wed Nov 5 18:18:27 2014 +++ src/lib/libperfuse/ops.c Sun Nov 9 10:06:34 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: ops.c,v 1.66.2.11 2014/11/05 18:18:27 snj Exp $ */ +/* $NetBSD: ops.c,v 1.66.2.12 2014/11/09 10:06:34 msaitoh Exp $ */ /*- * Copyright (c) 2010-2011 Emmanuel Dreyfus. All rights reserved. @@ -813,11 +813,6 @@ requeue_request(struct puffs_usermount * { struct perfuse_cc_queue pcq; struct perfuse_node_data *pnd; -#ifdef PERFUSE_DEBUG - struct perfuse_state *ps; - - ps = perfuse_getspecific(pu); -#endif pnd = PERFUSE_NODE_DATA(opc); pcq.pcq_type = type; @@ -2821,11 +2816,11 @@ perfuse_node_inactive(struct puffs_userm if (opc == 0) return 0; - node_ref(opc); pnd = PERFUSE_NODE_DATA(opc); - if (!(pnd->pnd_flags & (PND_OPEN|PND_REMOVED))) - goto out; + return 0; + + node_ref(opc); /* * Make sure all operation are finished