]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Jan 2026 12:09:42 +0000 (13:09 +0100)
commitf6ca2faa3f3ea20666d5cedcc71c642aeaad6d18
tree8dfe9152b97501908f737bcae027dae4a1bf9a6b
parent3d4e15ef5ccbae9308675cd7ea4e243485bdfe97
fs/ntfs3: Support timestamps prior to epoch

[ Upstream commit 5180138604323895b5c291eca6aa7c20be494ade ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/ntfs3/ntfs_fs.h