summaryrefslogtreecommitdiff
path: root/sys/ufs/ext2fs/ext2fs_vfsops.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2003-08-25 23:26:56 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2003-08-25 23:26:56 +0000
commitd5eab1b5294489e6eb637cefae0a4efb77c56d22 (patch)
tree41851a62be09fe3ad4bc9ac384e2747be6798862 /sys/ufs/ext2fs/ext2fs_vfsops.c
parent5b53867b985832fa8149d573e7cdf488354c6795 (diff)
rename struct dinode to ufs1_dinode. clears the namespace and makes
way for some future work. no function changes yet. few other little cleanups. help testing otto@ and markus@
Diffstat (limited to 'sys/ufs/ext2fs/ext2fs_vfsops.c')
-rw-r--r--sys/ufs/ext2fs/ext2fs_vfsops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ufs/ext2fs/ext2fs_vfsops.c b/sys/ufs/ext2fs/ext2fs_vfsops.c
index ee61f0a73eb..5914318ebf7 100644
--- a/sys/ufs/ext2fs/ext2fs_vfsops.c
+++ b/sys/ufs/ext2fs/ext2fs_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ext2fs_vfsops.c,v 1.29 2003/08/14 07:46:40 mickey Exp $ */
+/* $OpenBSD: ext2fs_vfsops.c,v 1.30 2003/08/25 23:26:55 tedu Exp $ */
/* $NetBSD: ext2fs_vfsops.c,v 1.1 1997/06/11 09:34:07 bouyer Exp $ */
/*
@@ -362,7 +362,7 @@ ext2fs_reload_vnode(struct vnode *vp, void *args) {
}
cp = (caddr_t)bp->b_data +
(ino_to_fsbo(era->fs, ip->i_number) * EXT2_DINODE_SIZE);
- e2fs_iload((struct ext2fs_dinode *)cp, &ip->i_din.e2fs_din);
+ e2fs_iload((struct ext2fs_dinode *)cp, &ip->i_e2din);
brelse(bp);
vput(vp);
return (0);
@@ -892,7 +892,7 @@ ext2fs_vget(mp, ino, vpp)
return (error);
}
bcopy(((struct ext2fs_dinode*)bp->b_data + ino_to_fsbo(fs, ino)),
- &ip->i_din, sizeof(struct ext2fs_dinode));
+ &ip->i_e2din, sizeof(struct ext2fs_dinode));
ip->i_effnlink = ip->i_e2fs_nlink;
brelse(bp);