Don't peek into dev_t

This commit is contained in:
Poul-Henning Kamp 1999-05-12 11:06:07 +00:00
parent c32e6392b5
commit 8bee45c44e
2 changed files with 4 additions and 4 deletions

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)vfs_subr.c 8.31 (Berkeley) 5/26/95
* $Id: vfs_subr.c,v 1.193 1999/05/08 07:02:38 phk Exp $
* $Id: vfs_subr.c,v 1.194 1999/05/11 19:54:33 phk Exp $
*/
/*
@ -1221,7 +1221,7 @@ checkalias(nvp, nvp_rdev, mp)
dev = udev2dev(nvp_rdev, 2);
vpp = &speclisth[SPECHASH(nvp_rdev)];
vpp = &speclisth[SPECHASH(minor(nvp_rdev))];
loop:
simple_lock(&spechash_slock);
for (vp = *vpp; vp; vp = vp->v_specnext) {

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)vfs_subr.c 8.31 (Berkeley) 5/26/95
* $Id: vfs_subr.c,v 1.193 1999/05/08 07:02:38 phk Exp $
* $Id: vfs_subr.c,v 1.194 1999/05/11 19:54:33 phk Exp $
*/
/*
@ -1221,7 +1221,7 @@ checkalias(nvp, nvp_rdev, mp)
dev = udev2dev(nvp_rdev, 2);
vpp = &speclisth[SPECHASH(nvp_rdev)];
vpp = &speclisth[SPECHASH(minor(nvp_rdev))];
loop:
simple_lock(&spechash_slock);
for (vp = *vpp; vp; vp = vp->v_specnext) {