From 87fe817da2cadf40baa7d76f96edc0dd617b17aa Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sun, 2 Dec 2018 23:30:53 -0500 Subject: [PATCH] libext2fs: update tst_super_size to include new superblock fields Signed-off-by: Theodore Ts'o --- lib/ext2fs/tst_super_size.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/lib/ext2fs/tst_super_size.c b/lib/ext2fs/tst_super_size.c index 0adac41..a932685 100644 --- a/lib/ext2fs/tst_super_size.c +++ b/lib/ext2fs/tst_super_size.c @@ -142,7 +142,16 @@ int main(int argc, char **argv) check_field(s_lpf_ino, 4); check_field(s_prj_quota_inum, 4); check_field(s_checksum_seed, 4); - check_field(s_reserved, 98 * 4); + check_field(s_wtime_hi, 1); + check_field(s_mtime_hi, 1); + check_field(s_mkfs_time_hi, 1); + check_field(s_lastcheck_hi, 1); + check_field(s_first_error_time_hi, 1); + check_field(s_last_error_time_hi, 1); + check_field(s_pad, 2); + check_field(s_encoding, 2); + check_field(s_encoding_flags, 2); + check_field(s_reserved, 95 * 4); check_field(s_checksum, 4); do_field("Superblock end", 0, 0, cur_offset, 1024); #endif -- 1.8.3.1