Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/nfs Fix memory leak during some NFS writes.
details: https://anonhg.NetBSD.org/src/rev/d1a6a3afcd4e
branches: trunk
changeset: 755620:d1a6a3afcd4e
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Sat Jun 12 21:10:55 2010 +0000
description:
Fix memory leak during some NFS writes.
diffstat:
sys/nfs/nfs_bio.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r ab3e3ae06b0a -r d1a6a3afcd4e sys/nfs/nfs_bio.c
--- a/sys/nfs/nfs_bio.c Sat Jun 12 18:02:31 2010 +0000
+++ b/sys/nfs/nfs_bio.c Sat Jun 12 21:10:55 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nfs_bio.c,v 1.184 2010/04/23 15:38:47 pooka Exp $ */
+/* $NetBSD: nfs_bio.c,v 1.185 2010/06/12 21:10:55 jakllsch Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nfs_bio.c,v 1.184 2010/04/23 15:38:47 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nfs_bio.c,v 1.185 2010/06/12 21:10:55 jakllsch Exp $");
#ifdef _KERNEL_OPT
#include "opt_nfs.h"
@@ -1049,7 +1049,7 @@
pgs[i]->flags &= ~(PG_NEEDCOMMIT | PG_RDONLY);
}
mutex_exit(&uobj->vmobjlock);
- return 0;
+ goto out;
} else if (error == NFSERR_STALEWRITEVERF) {
nfs_clearcommit(vp->v_mount);
goto again;
Home |
Main Index |
Thread Index |
Old Index