Commit 0e76796
fs/ntfs3: Support timestamps prior to epoch
[ Upstream commit 5180138 ]
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>
(cherry picked from commit 5859a556db4b3ba93bcef21c5d448467a9bc6b53)
Signed-off-by: Wentao Guan <guanwentao@uniontech.com>1 parent b31eec6 commit 0e76796
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
979 | 979 | | |
980 | 980 | | |
981 | 981 | | |
982 | | - | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
983 | 985 | | |
984 | | - | |
985 | | - | |
986 | | - | |
| 986 | + | |
| 987 | + | |
987 | 988 | | |
988 | 989 | | |
989 | 990 | | |
| |||
0 commit comments