The hpfs code uses time_t which will overflow at 2038. If time_t is only internal used without being stored on disk, simply replacing it with time64_t is fine. Otherwise, since the range of time has been already lost when it is stored on disk, the only thing we can do is a cast between 32-bit value and time64_t so as to remove time_t.
DengChao (2): fs:hpfs:Remove internal using time_t fs:hpfs:Remove time_t used on disk
fs/hpfs/hpfs_fn.h | 26 ++++++++++++++++++++++---- fs/hpfs/namei.c | 21 +++++++++++++++------ 2 files changed, 37 insertions(+), 10 deletions(-)