diff options
author | 2014-07-31 17:37:52 +0000 | |
---|---|---|
committer | 2014-07-31 17:37:52 +0000 | |
commit | d31d4a6efc77350e848422a4d0fc38384984d19d (patch) | |
tree | 0e1d8a4eb65e68d61e21333bcaa8c28a39574573 /sys/ufs/ext2fs/ext2fs_inode.c | |
parent | In debug mode, properly sort and drop duplicates so that we don't end (diff) | |
download | wireguard-openbsd-d31d4a6efc77350e848422a4d0fc38384984d19d.tar.xz wireguard-openbsd-d31d4a6efc77350e848422a4d0fc38384984d19d.zip |
use proper on-disk inode size: no more, no less.
Reported by Roman Yakovlev, thanks!
"do it now" deraadt
Diffstat (limited to 'sys/ufs/ext2fs/ext2fs_inode.c')
-rw-r--r-- | sys/ufs/ext2fs/ext2fs_inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ufs/ext2fs/ext2fs_inode.c b/sys/ufs/ext2fs/ext2fs_inode.c index 6f883499d29..41d72bc6a31 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.54 2014/07/13 16:59:35 pelikan Exp $ */ +/* $OpenBSD: ext2fs_inode.c,v 1.55 2014/07/31 17:37:52 pelikan Exp $ */ /* $NetBSD: ext2fs_inode.c,v 1.24 2001/06/19 12:59:18 wiz Exp $ */ /* @@ -189,7 +189,7 @@ ext2fs_update(struct inode *ip, int waitfor) ip->i_e2fs_uid_high = ip->i_e2fs_uid >> 16; ip->i_e2fs_gid_high = ip->i_e2fs_gid >> 16; - e2fs_isave(ip->i_e2din, (struct ext2fs_dinode *)cp); + e2fs_isave(fs, ip->i_e2din, (struct ext2fs_dinode *)cp); if (waitfor) return (bwrite(bp)); else { |