The dev returned here is what is found in the st_dev field.

This should not be further translated ... hence the 0.
This commit is contained in:
Robert V. Baron 1999-08-02 20:55:11 +00:00
parent dfc196bf2a
commit 962e236ec0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=49383
2 changed files with 6 additions and 4 deletions

View File

@ -27,7 +27,7 @@
* Mellon the rights to redistribute these changes without encumbrance.
*
* @(#) src/sys/cfs/coda_venus.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
* $Id: coda_venus.c,v 1.6 1998/11/11 20:32:20 rvb Exp $
* $Id: coda_venus.c,v 1.7 1999/05/11 19:53:51 phk Exp $
*
*/
@ -197,7 +197,8 @@ venus_open(void *mdp, ViceFid *fid, int flag,
error = coda_call(mdp, Isize, &Osize, (char *)inp);
if (!error) {
*dev = udev2dev(outp->dev, 2);
/* 5/11 *dev = udev2dev(outp->dev, 2); */
*dev = udev2dev(outp->dev, 0);
*inode = outp->inode;
}

View File

@ -27,7 +27,7 @@
* Mellon the rights to redistribute these changes without encumbrance.
*
* @(#) src/sys/cfs/coda_venus.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
* $Id: coda_venus.c,v 1.6 1998/11/11 20:32:20 rvb Exp $
* $Id: coda_venus.c,v 1.7 1999/05/11 19:53:51 phk Exp $
*
*/
@ -197,7 +197,8 @@ venus_open(void *mdp, ViceFid *fid, int flag,
error = coda_call(mdp, Isize, &Osize, (char *)inp);
if (!error) {
*dev = udev2dev(outp->dev, 2);
/* 5/11 *dev = udev2dev(outp->dev, 2); */
*dev = udev2dev(outp->dev, 0);
*inode = outp->inode;
}