Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libperfuse Fix reference count bug introduced by previou...
details: https://anonhg.NetBSD.org/src/rev/7cab14572391
branches: trunk
changeset: 757539:7cab14572391
user: manu <manu%NetBSD.org@localhost>
date: Fri Sep 03 14:32:50 2010 +0000
description:
Fix reference count bug introduced by previous commit
diffstat:
lib/libperfuse/ops.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 0a392d0e019d -r 7cab14572391 lib/libperfuse/ops.c
--- a/lib/libperfuse/ops.c Fri Sep 03 07:15:18 2010 +0000
+++ b/lib/libperfuse/ops.c Fri Sep 03 14:32:50 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ops.c,v 1.7 2010/09/03 07:15:18 manu Exp $ */
+/* $NetBSD: ops.c,v 1.8 2010/09/03 14:32:50 manu Exp $ */
/*-
* Copyright (c) 2010 Emmanuel Dreyfus. All rights reserved.
@@ -1006,7 +1006,9 @@
* aware that the file was created. If we do not do it, we
* get "SETATTR (null) (fuse_loc_fill() failed)"
*/
- (void)node_lookup_common(pu, opc, (char*)PCNPATH(pcn), NULL);
+ (void)puffs_pn_nodewalk(pu, puffs_path_walkcmp,
+ __UNCONST(&pcn->pcn_po_full));
+
out:
ps->ps_destroy_msg(pm);
@@ -2489,7 +2491,6 @@
if (puffs_pn_getvap((struct puffs_node *)opc)->va_type == VDIR)
return EBADF;
-DPRINTF("%s ENTER\n", __func__);
pnd->pnd_flags |= PND_INWRITE;
requested = *resid;
Home |
Main Index |
Thread Index |
Old Index