mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-13 10:02:38 +00:00
Backed out previous change. I forgot (for about the fourth time) that
v_rdev is a #define which is dereferenced through v_specinfo->si_rdev, and that isn't initialized until later in checkalias().
This commit is contained in:
parent
be96c4f445
commit
7500ed1d63
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=6762
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)vfs_subr.c 8.13 (Berkeley) 4/18/94
|
||||
* $Id: vfs_subr.c,v 1.16 1995/02/22 09:39:22 davidg Exp $
|
||||
* $Id: vfs_subr.c,v 1.17 1995/02/27 06:50:08 davidg Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -370,9 +370,8 @@ getnewvnode(tag, mp, vops, vpp)
|
||||
vp->v_socket = 0;
|
||||
vp->v_writecount = 0; /* XXX */
|
||||
}
|
||||
cache_purge(vp);
|
||||
vp->v_type = VNON;
|
||||
vp->v_rdev = NODEV;
|
||||
cache_purge(vp);
|
||||
vp->v_tag = tag;
|
||||
vp->v_op = vops;
|
||||
insmntque(vp, mp);
|
||||
|
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)vfs_subr.c 8.13 (Berkeley) 4/18/94
|
||||
* $Id: vfs_subr.c,v 1.16 1995/02/22 09:39:22 davidg Exp $
|
||||
* $Id: vfs_subr.c,v 1.17 1995/02/27 06:50:08 davidg Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -370,9 +370,8 @@ getnewvnode(tag, mp, vops, vpp)
|
||||
vp->v_socket = 0;
|
||||
vp->v_writecount = 0; /* XXX */
|
||||
}
|
||||
cache_purge(vp);
|
||||
vp->v_type = VNON;
|
||||
vp->v_rdev = NODEV;
|
||||
cache_purge(vp);
|
||||
vp->v_tag = tag;
|
||||
vp->v_op = vops;
|
||||
insmntque(vp, mp);
|
||||
|
Loading…
Reference in New Issue
Block a user