Backed out rev.1.27, which broke unmounting of mfs and caused panics

on shutdown.

Should not have been in 2.2 (the buggy last minute change, that is).
This commit is contained in:
Bruce Evans 1997-03-22 03:59:46 +00:00
parent 32d41c2b07
commit c16cb2c78b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24098

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)mfs_vfsops.c 8.11 (Berkeley) 6/19/95
* $Id: mfs_vfsops.c,v 1.26 1997/02/22 09:47:31 peter Exp $
* $Id: mfs_vfsops.c,v 1.27 1997/03/05 01:57:54 msmith Exp $
*/
#include <sys/param.h>
@ -372,7 +372,7 @@ mfs_mount(mp, path, data, ndp, p)
*/
MALLOC(mfsp, struct mfsnode *, sizeof *mfsp, M_MFSNODE, M_WAITOK);
err = getnewvnode(VT_MFS, mp, mfs_vnodeop_p, &devvp);
err = getnewvnode(VT_MFS, (struct mount *)0, mfs_vnodeop_p, &devvp);
if (err) {
FREE(mfsp, M_MFSNODE);
goto error_1;