]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
fs/ntfs3: Support timestamps prior to epoch
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Mon, 1 Sep 2025 08:48:48 +0000 (11:48 +0300)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Fri, 17 Oct 2025 10:08:24 +0000 (12:08 +0200)
commit5180138604323895b5c291eca6aa7c20be494ade
tree587b74b3a283bb6cd51e550303a036c404cc4ab8
parent3a8660878839faadb4f1a6dd72c3179c1df56787
fs/ntfs3: Support timestamps prior to epoch

Before it used an unsigned 64-bit type, which prevented proper handling
of timestamps earlier than 1970-01-01. Switch to a signed 64-bit type to
support pre-epoch timestamps. The issue was caught by xfstests.

Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/ntfs_fs.h