Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/miscfs/genfs fix lock/unlock mismatch in rev.1.115.
details: https://anonhg.NetBSD.org/src/rev/63e1f583f408
branches: trunk
changeset: 586355:63e1f583f408
user: yamt <yamt%NetBSD.org@localhost>
date: Thu Dec 15 02:23:38 2005 +0000
description:
fix lock/unlock mismatch in rev.1.115.
reported by Chris Tribo on current-users@.
diffstat:
sys/miscfs/genfs/genfs_vnops.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r f693213c3bf5 -r 63e1f583f408 sys/miscfs/genfs/genfs_vnops.c
--- a/sys/miscfs/genfs/genfs_vnops.c Thu Dec 15 01:53:30 2005 +0000
+++ b/sys/miscfs/genfs/genfs_vnops.c Thu Dec 15 02:23:38 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: genfs_vnops.c,v 1.116 2005/12/11 12:24:50 christos Exp $ */
+/* $NetBSD: genfs_vnops.c,v 1.117 2005/12/15 02:23:38 yamt Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: genfs_vnops.c,v 1.116 2005/12/11 12:24:50 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: genfs_vnops.c,v 1.117 2005/12/15 02:23:38 yamt Exp $");
#if defined(_KERNEL_OPT)
#include "opt_nfsserver.h"
@@ -1648,6 +1648,7 @@
return (EINVAL);
}
if ((ap->a_flags & PGO_SYNCIO) == 0) {
+ simple_unlock(&uobj->vmobjlock);
return 0;
}
npages = orignpages;
Home |
Main Index |
Thread Index |
Old Index