diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-05-09 13:11:37 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-05-09 13:11:37 +0000 |
commit | 61d9c46c463e837c40db28bf580ac4cb7d1401d6 (patch) | |
tree | 6a9a082e5a7cd7ae57b8e7b5177aeb012b3e6935 /sys/coda/coda_vfsops.c | |
parent | 6f42b336a5ea7736643e64e564c7c60cfdffc7fb (diff) | |
download | src-test2-61d9c46c463e837c40db28bf580ac4cb7d1401d6.tar.gz src-test2-61d9c46c463e837c40db28bf580ac4cb7d1401d6.zip |
Notes
Diffstat (limited to 'sys/coda/coda_vfsops.c')
-rw-r--r-- | sys/coda/coda_vfsops.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/sys/coda/coda_vfsops.c b/sys/coda/coda_vfsops.c index 3af2ad20b433..dfb4e0eab031 100644 --- a/sys/coda/coda_vfsops.c +++ b/sys/coda/coda_vfsops.c @@ -27,7 +27,7 @@ * Mellon the rights to redistribute these changes without encumbrance. * * @(#) src/sys/cfs/coda_vfsops.c,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $ - * $Id: coda_vfsops.c,v 1.11 1999/01/17 20:25:17 peter Exp $ + * $Id: coda_vfsops.c,v 1.12 1999/05/08 06:39:04 phk Exp $ * */ @@ -47,6 +47,15 @@ /* * HISTORY * $Log: coda_vfsops.c,v $ + * Revision 1.12 1999/05/08 06:39:04 phk + * I got tired of seeing all the cdevsw[major(foo)] all over the place. + * + * Made a new (inline) function devsw(dev_t dev) and substituted it. + * + * Changed to the BDEV variant to this format as well: bdevsw(dev_t dev) + * + * DEVFS will eventually benefit from this change too. + * * Revision 1.11 1999/01/17 20:25:17 peter * Clean up the KLD/LKM goop a bit. * @@ -745,7 +754,7 @@ struct mount *devtomp(dev) for (mp = mountlist.cqh_first; mp != (void*)&mountlist; mp = nmp) { nmp = mp->mnt_list.cqe_next; - if (((VFSTOUFS(mp))->um_dev == (dev_t) dev)) { + if (((VFSTOUFS(mp))->um_dev == dev)) { /* mount corresponds to UFS and the device matches one we want */ return(mp); } |