On Tuesday 10 November 2015 22:25:42 DengChao wrote:
The affs code uses "time_t" and "get_seconds()". This will cause problems on 32-bit architectures in 2038 when time_t overflows. This patch replaces them with "time64_t" and "ktime_get_real_seconds()". This patch introduces expensive 64-bit divsion in "secs_to_datestamp()", considering this function is not called so often, the cost should be acceptable.
Signed-off-by: DengChao chao.deng@linaro.org
Patch looks great,
Reviewed-by: Arnd Bergmann arnd@arndb.de
Maybe post it again to the linux-fsdevel list. Unfortunately there is no maintainer for this, so one of us will have to pick up the patch directly, but maybe someone else can comment.
Arnd