mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-16 23:57:54 +01:00
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:
parent
32d41c2b07
commit
c16cb2c78b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24098
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user