Module Name: src Committed By: christos Date: Sat Aug 4 12:31:57 UTC 2012
Modified Files: src/sys/coda: coda_psdev.c Log Message: Don't increment the mount reference count here. Otherwise we are left with refcount of one when we unmount, and vfs_destroy does not... Who is expected to decrement this anyway?!?! To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/sys/coda/coda_psdev.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/coda/coda_psdev.c diff -u src/sys/coda/coda_psdev.c:1.48 src/sys/coda/coda_psdev.c:1.49 --- src/sys/coda/coda_psdev.c:1.48 Wed Apr 25 23:04:54 2012 +++ src/sys/coda/coda_psdev.c Sat Aug 4 08:31:57 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: coda_psdev.c,v 1.48 2012/04/26 03:04:54 christos Exp $ */ +/* $NetBSD: coda_psdev.c,v 1.49 2012/08/04 12:31:57 christos Exp $ */ /* * @@ -54,7 +54,7 @@ /* These routines are the device entry points for Venus. */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: coda_psdev.c,v 1.48 2012/04/26 03:04:54 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: coda_psdev.c,v 1.49 2012/08/04 12:31:57 christos Exp $"); extern int coda_nc_initialized; /* Set if cache has been initialized */ @@ -202,7 +202,6 @@ vc_nb_close(dev_t dev, int flag, int mod } /* Let unmount know this is for real */ - atomic_inc_uint(&mi->mi_vfsp->mnt_refcnt); VTOC(mi->mi_rootvp)->c_flags |= C_UNMOUNTING; coda_unmounting(mi->mi_vfsp);