summaryrefslogtreecommitdiff
path: root/sys/ufs/ext2fs/ext2fs_subr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ufs/ext2fs/ext2fs_subr.c')
-rw-r--r--sys/ufs/ext2fs/ext2fs_subr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ufs/ext2fs/ext2fs_subr.c b/sys/ufs/ext2fs/ext2fs_subr.c
index ec7f4f90c5d..0feda64e1c0 100644
--- a/sys/ufs/ext2fs/ext2fs_subr.c
+++ b/sys/ufs/ext2fs/ext2fs_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ext2fs_subr.c,v 1.13 2005/12/11 20:46:28 pedro Exp $ */
+/* $OpenBSD: ext2fs_subr.c,v 1.14 2006/07/18 22:44:33 pedro Exp $ */
/* $NetBSD: ext2fs_subr.c,v 1.1 1997/06/11 09:34:03 bouyer Exp $ */
/*
@@ -155,7 +155,7 @@ ext2fs_vinit(struct mount *mp, int (**specops)(void *),
case VBLK:
vp->v_op = specops;
- nvp = checkalias(vp, ip->i_e2din->e2di_rdev, mp);
+ nvp = checkalias(vp, fs2h32(ip->i_e2din->e2di_rdev), mp);
if (nvp != NULL) {
/*
* Discard unneeded vnode, but save its inode. Note