diff options
author | phk <phk@FreeBSD.org> | 2004-09-23 12:19:24 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-09-23 12:19:24 +0000 |
commit | a4f5e76f749133b4bf9ff312f3e6afa8c43774b8 (patch) | |
tree | 11e356b401e675b3388101301606207d6364d236 /sys/fs/coda/coda_vfsops.c | |
parent | 99b0ffd3c0991c325d4dfcc78af450e65f31b53e (diff) | |
download | FreeBSD-src-a4f5e76f749133b4bf9ff312f3e6afa8c43774b8.zip FreeBSD-src-a4f5e76f749133b4bf9ff312f3e6afa8c43774b8.tar.gz |
Do not use devsw() but si_devsw direction. This is still bogus but a
fair bit less so.
Diffstat (limited to 'sys/fs/coda/coda_vfsops.c')
-rw-r--r-- | sys/fs/coda/coda_vfsops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/coda/coda_vfsops.c b/sys/fs/coda/coda_vfsops.c index 4096a3f..4220685 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); |