Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/nfs Don't forget to call nfs_fini() when we're finished....



details:   https://anonhg.NetBSD.org/src/rev/4e5cd1fde2fa
branches:  trunk
changeset: 341365:4e5cd1fde2fa
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Mon Nov 02 09:57:43 2015 +0000

description:
Don't forget to call nfs_fini() when we're finished.  Without this,
we leave a dangling pool nfsrvdescpl around.

diffstat:

 sys/nfs/nfs_vfsops.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 0e3b1bb78927 -r 4e5cd1fde2fa sys/nfs/nfs_vfsops.c
--- a/sys/nfs/nfs_vfsops.c      Mon Nov 02 09:29:08 2015 +0000
+++ b/sys/nfs/nfs_vfsops.c      Mon Nov 02 09:57:43 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nfs_vfsops.c,v 1.230 2015/07/15 03:28:55 manu Exp $    */
+/*     $NetBSD: nfs_vfsops.c,v 1.231 2015/11/02 09:57:43 pgoyette Exp $        */
 
 /*
  * Copyright (c) 1989, 1993, 1995
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nfs_vfsops.c,v 1.230 2015/07/15 03:28:55 manu Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nfs_vfsops.c,v 1.231 2015/11/02 09:57:43 pgoyette Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_nfs.h"
@@ -1169,4 +1169,5 @@
        nfs_node_done();
        nfs_kqfini();
        nfs_iodfini();
+       nfs_fini();
 }



Home | Main Index | Thread Index | Old Index