Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libpuffs puffs__cc_destroy: clear PCC_HASCALLER. the ca...
details: https://anonhg.NetBSD.org/src/rev/1f7b8c84001d
branches: trunk
changeset: 762880:1f7b8c84001d
user: yamt <yamt%NetBSD.org@localhost>
date: Fri Mar 04 09:47:47 2011 +0000
description:
puffs__cc_destroy: clear PCC_HASCALLER. the caller info is not
necessarily relevant to the next life of the cc. this also fixes
the failure of the assertion in the next line.
diffstat:
lib/libpuffs/callcontext.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r b009192f234f -r 1f7b8c84001d lib/libpuffs/callcontext.c
--- a/lib/libpuffs/callcontext.c Fri Mar 04 09:28:34 2011 +0000
+++ b/lib/libpuffs/callcontext.c Fri Mar 04 09:47:47 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: callcontext.c,v 1.24 2011/01/10 23:20:45 yamt Exp $ */
+/* $NetBSD: callcontext.c,v 1.25 2011/03/04 09:47:47 yamt Exp $ */
/*
* Copyright (c) 2006, 2007, 2008 Antti Kantee. All Rights Reserved.
@@ -30,7 +30,7 @@
#include <sys/cdefs.h>
#if !defined(lint)
-__RCSID("$NetBSD: callcontext.c,v 1.24 2011/01/10 23:20:45 yamt Exp $");
+__RCSID("$NetBSD: callcontext.c,v 1.25 2011/03/04 09:47:47 yamt Exp $");
#endif /* !lint */
#include <sys/types.h>
@@ -291,6 +291,7 @@
{
struct puffs_usermount *pu = pcc->pcc_pu;
+ pcc->pcc_flags &= ~PCC_HASCALLER;
assert(pcc->pcc_flags == 0);
assert(!puffs_fakecc);
Home |
Main Index |
Thread Index |
Old Index