From 1de42023d16a80bbfc3c835776c53b1ef26b65df Mon Sep 17 00:00:00 2001 From: pooka Date: Fri, 20 Apr 2007 21:35:31 +0000 Subject: [PATCH] don't mutex_enter() manually, we've already park_reference()d a few lines earlier for entering the same mutex --- sys/fs/puffs/puffs_msgif.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sys/fs/puffs/puffs_msgif.c b/sys/fs/puffs/puffs_msgif.c index d62df0e66b9b..6435fa5de222 100644 --- a/sys/fs/puffs/puffs_msgif.c +++ b/sys/fs/puffs/puffs_msgif.c @@ -1,4 +1,4 @@ -/* $NetBSD: puffs_msgif.c,v 1.29 2007/04/11 09:43:19 pooka Exp $ */ +/* $NetBSD: puffs_msgif.c,v 1.30 2007/04/20 21:35:31 pooka Exp $ */ /* * Copyright (c) 2005, 2006, 2007 Antti Kantee. All Rights Reserved. @@ -33,7 +33,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: puffs_msgif.c,v 1.29 2007/04/11 09:43:19 pooka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: puffs_msgif.c,v 1.30 2007/04/20 21:35:31 pooka Exp $"); #include #include @@ -868,7 +868,6 @@ puffs_userdead(struct puffs_mount *pmp) park->park_preq->preq_rv = ENXIO; if (park->park_flags & PARKFLAG_CALL) { park->park_done(park->park_preq, park->park_donearg); - mutex_enter(&park->park_mtx); puffs_park_release(park, 1); } else { cv_signal(&park->park_cv);