NetBSD-Bugs archive

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

PR/38291 CVS commit: src/sys/ufs/mfs



The following reply was made to PR kern/38291; it has been noted by GNATS.

From: Andrew Doran <ad%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/38291 CVS commit: src/sys/ufs/mfs
Date: Wed, 26 Mar 2008 14:19:43 +0000 (UTC)

 Module Name:   src
 Committed By:  ad
 Date:          Wed Mar 26 14:19:43 UTC 2008
 
 Modified Files:
        src/sys/ufs/mfs: mfs_extern.h mfs_vfsops.c mfs_vnops.c mfsnode.h
 
 Log Message:
 Changes for PR kern/38291 (panic unmounting MFS /tmp):
 
 - Reference count the mfsnode to fix an aincent bug. Only destroy when
   reference count drops to zero. In mfs_start(), busy the mount and get
   a reference to the mfsnode to prevent it disappearing while the server
   is running. If the file system is gone already, vfs_busy() will fail.
 - Always destroy the bufq.
 - Use a global mfs_lock for simplicity.
 - Replace use of malloc/free. Fixes broken MALLOC_TYPE change.
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.27 -r1.28 src/sys/ufs/mfs/mfs_extern.h
 cvs rdiff -r1.90 -r1.91 src/sys/ufs/mfs/mfs_vfsops.c
 cvs rdiff -r1.48 -r1.49 src/sys/ufs/mfs/mfs_vnops.c
 cvs rdiff -r1.20 -r1.21 src/sys/ufs/mfs/mfsnode.h
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index