diff options
author | 2003-08-25 23:26:55 +0000 | |
---|---|---|
committer | 2003-08-25 23:26:55 +0000 | |
commit | f26feedbbd265c9dd7eb90f1add1486f683bd3d1 (patch) | |
tree | e24708372dd2b3628eee1ce0676b5fe2a8821e19 /sys/ufs/ext2fs/ext2fs_inode.c | |
parent | pr3412: remove dups, from Morten Liebach. ok deraadt@ (diff) | |
download | wireguard-openbsd-f26feedbbd265c9dd7eb90f1add1486f683bd3d1.tar.xz wireguard-openbsd-f26feedbbd265c9dd7eb90f1add1486f683bd3d1.zip |
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_inode.c')
-rw-r--r-- | sys/ufs/ext2fs/ext2fs_inode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ufs/ext2fs/ext2fs_inode.c b/sys/ufs/ext2fs/ext2fs_inode.c index 9cd114dc04c..5a9c898ac54 100644 --- a/sys/ufs/ext2fs/ext2fs_inode.c +++ b/sys/ufs/ext2fs/ext2fs_inode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ext2fs_inode.c,v 1.23 2003/06/02 23:28:22 millert Exp $ */ +/* $OpenBSD: ext2fs_inode.c,v 1.24 2003/08/25 23:26:55 tedu Exp $ */ /* $NetBSD: ext2fs_inode.c,v 1.24 2001/06/19 12:59:18 wiz Exp $ */ /* @@ -147,7 +147,7 @@ ext2fs_update(struct inode *ip, struct timespec *atime, struct timespec *mtime, ip->i_flag &= ~(IN_MODIFIED); cp = (caddr_t)bp->b_data + (ino_to_fsbo(fs, ip->i_number) * EXT2_DINODE_SIZE); - e2fs_isave(&ip->i_din.e2fs_din, (struct ext2fs_dinode *)cp); + e2fs_isave(&ip->i_e2din, (struct ext2fs_dinode *)cp); if (waitfor) return (bwrite(bp)); else { @@ -194,7 +194,7 @@ ext2fs_truncate(struct inode *oip, off_t length, int flags, struct ucred *cred) if (length != 0) panic("ext2fs_truncate: partial truncate of symlink"); #endif - bzero((char *)&oip->i_din.e2fs_din.e2di_shortlink, + bzero((char *)&oip->i_e2din.e2di_shortlink, (u_int)oip->i_e2fs_size); oip->i_e2fs_size = 0; oip->i_flag |= IN_CHANGE | IN_UPDATE; |