summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_subr.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-08-13 10:29:38 +0000
committerphk <phk@FreeBSD.org>1999-08-13 10:29:38 +0000
commit7b7ae40370ce27419c2f1c0cda88ea6525a1066d (patch)
tree3305e31c2721a7973c3c9558eef0c23d9ba30704 /sys/kern/vfs_subr.c
parent683c2698ff60010cda4f6821ac884b7beb2f4cbf (diff)
downloadFreeBSD-src-7b7ae40370ce27419c2f1c0cda88ea6525a1066d.zip
FreeBSD-src-7b7ae40370ce27419c2f1c0cda88ea6525a1066d.tar.gz
The bdevsw() and cdevsw() are now identical, so kill the former.
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r--sys/kern/vfs_subr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index 70be14f..21bb57b 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)vfs_subr.c 8.31 (Berkeley) 5/26/95
- * $Id: vfs_subr.c,v 1.215 1999/08/08 18:42:49 phk Exp $
+ * $Id: vfs_subr.c,v 1.216 1999/08/13 10:10:01 phk Exp $
*/
/*
@@ -2629,7 +2629,7 @@ retry:
if ((error = VOP_GETATTR(vp, &vat, cred, p)) != 0)
goto retn;
object = vnode_pager_alloc(vp, vat.va_size, 0, 0);
- } else if (bdevsw(vp->v_rdev) != NULL) {
+ } else if (devsw(vp->v_rdev) != NULL) {
/*
* This simply allocates the biggest object possible
* for a VBLK vnode. This should be fixed, but doesn't
OpenPOWER on IntegriCloud