diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-07-29 15:51:48 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2018-07-29 15:51:48 -0400 |
commit | 6a0678a79bb3a4e5fc1b680e7afc78727e21aff3 (patch) | |
tree | e86f4d3e34620c66c4ed18d890650012d584a87c /tools/perf/builtin-kmem.c | |
parent | b42d1d6b5b789c41dacbe2bc192c7b359d109d7b (diff) | |
download | linux-6a0678a79bb3a4e5fc1b680e7afc78727e21aff3.tar.gz linux-6a0678a79bb3a4e5fc1b680e7afc78727e21aff3.tar.bz2 linux-6a0678a79bb3a4e5fc1b680e7afc78727e21aff3.zip |
ext4: super: extend timestamps to 40 bits
The inode timestamps use 34 bits in ext4, but the various timestamps in
the superblock are limited to 32 bits. If every user accesses these as
'unsigned', then this is good until year 2106, but it seems better to
extend this a bit further in the process of removing the deprecated
get_seconds() function.
This adds another byte for each timestamp in the superblock, making
them long enough to store timestamps beyond what is in the inodes,
which seems good enough here (in ocfs2, they are already 64-bit wide,
which is appropriate for a new layout).
I did not modify e2fsprogs, which obviously needs the same change to
actually interpret future timestamps correctly.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/builtin-kmem.c')
0 files changed, 0 insertions, 0 deletions