]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
Add timestamp extension bits to superblock
authorGabriel Krisman Bertazi <krisman@collabora.co.uk>
Mon, 19 Nov 2018 03:31:10 +0000 (22:31 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 19 Nov 2018 04:14:49 +0000 (23:14 -0500)
Re-sync the superblock structure declaration with its kernel counterpart
to include the fields added by kernel commit 6a0678a79bb3 ("ext4: super:
extend timestamps to 40 bits")

Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/ext2_fs.h

index 13c2c20e5c429b1e409af771f6d7163b433a6780..ab2595486d21aea0eb71c324e3a728a778a5920d 100644 (file)
@@ -748,7 +748,14 @@ struct ext2_super_block {
 /*268*/        __le32  s_lpf_ino;              /* Location of the lost+found inode */
        __le32  s_prj_quota_inum;       /* inode for tracking project quota */
 /*270*/        __le32  s_checksum_seed;        /* crc32c(orig_uuid) if csum_seed set */
-       __le32  s_reserved[98];         /* Padding to the end of the block */
+/*274*/        __u8    s_wtime_hi;
+       __u8    s_mtime_hi;
+       __u8    s_mkfs_time_hi;
+       __u8    s_lastcheck_hi;
+       __u8    s_first_error_time_hi;
+       __u8    s_last_error_time_hi;
+       __u8    s_pad[2];
+       __le32  s_reserved[96];         /* Padding to the end of the block */
 /*3fc*/        __u32   s_checksum;             /* crc32c(superblock) */
 };