Do not use devsw() but si_devsw direction. This is still bogus but a

fair bit less so.
This commit is contained in:
phk 2004-09-23 12:19:24 +00:00
parent 99b0ffd3c0
commit a4f5e76f74
2 changed files with 2 additions and 2 deletions

View File

@ -152,7 +152,7 @@ coda_omount(vfsp, path, data, td)
/*
* See if the device table matches our expectations.
*/
if (devsw(dev)->d_open != vc_nb_open)
if (dev->si_devsw->d_open != vc_nb_open)
{
MARK_INT_FAIL(CODA_MOUNT_STATS);
return(ENXIO);

View File

@ -152,7 +152,7 @@ coda_omount(vfsp, path, data, td)
/*
* See if the device table matches our expectations.
*/
if (devsw(dev)->d_open != vc_nb_open)
if (dev->si_devsw->d_open != vc_nb_open)
{
MARK_INT_FAIL(CODA_MOUNT_STATS);
return(ENXIO);