diff options
author | 2008-11-23 23:52:35 +0000 | |
---|---|---|
committer | 2008-11-23 23:52:35 +0000 | |
commit | 25e19cd89054e4ff3a468b1ffc680916a9531bc2 (patch) | |
tree | 23db4d93f7acdff0fa825dfaa6a0444f60222bff /sys/ufs/ext2fs/ext2fs_inode.c | |
parent | softraid support for ata over ethernet (aoe). this includes a client and (diff) | |
download | wireguard-openbsd-25e19cd89054e4ff3a468b1ffc680916a9531bc2.tar.xz wireguard-openbsd-25e19cd89054e4ff3a468b1ffc680916a9531bc2.zip |
fancy new ext2fs can have big inodes. we can possibly still read them
though if no new features are in play. diff from Wouter Godefroy
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 62a0f438814..5a90e6eafcc 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.42 2008/06/12 06:58:40 deraadt Exp $ */ +/* $OpenBSD: ext2fs_inode.c,v 1.43 2008/11/23 23:52:35 tedu Exp $ */ /* $NetBSD: ext2fs_inode.c,v 1.24 2001/06/19 12:59:18 wiz Exp $ */ /* @@ -187,7 +187,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); + (ino_to_fsbo(fs, ip->i_number) * EXT2_DINODE_SIZE(fs)); /* * See note about 16-bit UID/GID limitation in ext2fs_vget(). Now |