summaryrefslogtreecommitdiff
path: root/sys/ufs/ext2fs
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2016-04-27 11:27:25 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2016-04-27 11:27:25 +0000
commitd33e314d4587e379622c7a463eafda8dba1ff88a (patch)
tree00eb309ebd8d7febac5dbe0e69d0466ed9e8c6b2 /sys/ufs/ext2fs
parent1e4141c1d3d79de7aeafefbb8a9eadb645d3159d (diff)
Pad struct ext2fs out to 1024 (a.k.a. ext2fs SBSIZE) bytes. Satisfies
assumptions in fsck_ext2fs and eliminates spurious "VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST ALTERNATE" messages. Part of the problem reported to bugs@ by Lampshade. ok beck@
Diffstat (limited to 'sys/ufs/ext2fs')
-rw-r--r--sys/ufs/ext2fs/ext2fs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ufs/ext2fs/ext2fs.h b/sys/ufs/ext2fs/ext2fs.h
index 1dbd3a2fc46..b4a414f2df0 100644
--- a/sys/ufs/ext2fs/ext2fs.h
+++ b/sys/ufs/ext2fs/ext2fs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ext2fs.h,v 1.22 2014/12/19 22:44:59 guenther Exp $ */
+/* $OpenBSD: ext2fs.h,v 1.23 2016/04/27 11:27:24 krw Exp $ */
/* $NetBSD: ext2fs.h,v 1.10 2000/01/28 16:00:23 bouyer Exp $ */
/*
@@ -138,7 +138,7 @@ struct ext2fs {
u_int32_t e2fs_features_rocompat; /* RO-compatible feature set */
u_int8_t e2fs_uuid[16]; /* 128-bit uuid for volume */
char e2fs_vname[16]; /* volume name */
- char e2fs_fsmnt[64]; /* name mounted on */
+ char e2fs_fsmnt[64]; /* name mounted on */
u_int32_t e2fs_algo; /* For compression */
u_int8_t e2fs_prealloc; /* # of blocks to preallocate */
u_int8_t e2fs_dir_prealloc; /* # of blocks to preallocate for dir */
@@ -156,7 +156,7 @@ struct ext2fs {
u_int32_t e2fs_first_meta_bg;
u_int32_t e2fs_mkfs_time;
u_int32_t e2fs_journal_backup[17];
- u_int32_t reserved2[76];
+ u_int32_t reserved2[172];
};