| commit | 8b37e89f850610d51b7550ac34b8912b3000ced5 | [log] [tgz] |
|---|---|---|
| author | Theodore Ts'o <tytso@mit.edu> | Thu Apr 18 14:16:55 2024 -0400 |
| committer | Theodore Ts'o <tytso@mit.edu> | Thu Apr 18 14:16:55 2024 -0400 |
| tree | e7d507183df87408dcae19abb3dccb6b8e543038 | |
| parent | 08079876e77b5f3fac81c093b33a297afb4dcb31 [diff] |
debugfs: fix printing post-2038 inode timestamps
Debugfs's stat command called ext2fs_inode_xtime_get() with a struct
inode * instead of a struct large_inode *. As a result, printing
inode timestamps will be incorrect if the time value is larger than
2**32.
Fixes: ca8bc9240a00 ("Add post-2038 timestamp support to e2fsprogs")
Signed-off-by: Theodore Ts'o <tytso@mit.edu>