diff options
author | Martin Pelikan <pelikan@cvs.openbsd.org> | 2014-07-11 12:53:20 +0000 |
---|---|---|
committer | Martin Pelikan <pelikan@cvs.openbsd.org> | 2014-07-11 12:53:20 +0000 |
commit | 1a0b687173c62c841dd08a54e3b7c29f9fe424cf (patch) | |
tree | 391825b3dcc8987700c83b7adaa11e5c0986dd65 /sys | |
parent | 4f25067a4092f6b9bcc17ff6a8512f7333901f1c (diff) |
sizeof good old inode is 128, the structure has expanded
Diffstat (limited to 'sys')
-rw-r--r-- | sys/ufs/ext2fs/ext2fs_dinode.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ufs/ext2fs/ext2fs_dinode.h b/sys/ufs/ext2fs/ext2fs_dinode.h index 5e20f07f1f2..456e695812c 100644 --- a/sys/ufs/ext2fs/ext2fs_dinode.h +++ b/sys/ufs/ext2fs/ext2fs_dinode.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ext2fs_dinode.h,v 1.15 2014/07/11 12:08:21 pelikan Exp $ */ +/* $OpenBSD: ext2fs_dinode.h,v 1.16 2014/07/11 12:53:19 pelikan Exp $ */ /* $NetBSD: ext2fs_dinode.h,v 1.6 2000/01/26 16:21:33 bouyer Exp $ */ /* @@ -136,7 +136,7 @@ struct ext2fs_dinode { #define EXT4_EOFBLOCKS 0x00400000 /* blocks allocated beyond EOF */ /* Size of on-disk inode. */ -#define EXT2_REV0_DINODE_SIZE sizeof(struct ext2fs_dinode) +#define EXT2_REV0_DINODE_SIZE 128 #define EXT2_DINODE_SIZE(fs) ((fs)->e2fs.e2fs_rev > E2FS_REV0 ? \ (fs)->e2fs.e2fs_inode_size : \ EXT2_REV0_DINODE_SIZE) |