diff options
| -rw-r--r-- | sys/coda/coda_vfsops.c | 2 | ||||
| -rw-r--r-- | sys/fs/coda/coda_vfsops.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/coda/coda_vfsops.c b/sys/coda/coda_vfsops.c index 4096a3fbb330a..4220685c05a49 100644 --- a/sys/coda/coda_vfsops.c +++ b/sys/coda/coda_vfsops.c @@ -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); diff --git a/sys/fs/coda/coda_vfsops.c b/sys/fs/coda/coda_vfsops.c index 4096a3fbb330a..4220685c05a49 100644 --- a/sys/fs/coda/coda_vfsops.c +++ b/sys/fs/coda/coda_vfsops.c @@ -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); |
