The patch titled Subject: reiserfs: use 64-bit values in print_time has been added to the -mm tree. Its filename is reiserfs-use-64-bit-values-in-print_time.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/reiserfs-use-64-bit-values-in-print_time.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/reiserfs-use-64-bit-values-in-print_time.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Arnd Bergmann <arnd@xxxxxxxx> Subject: reiserfs: use 64-bit values in print_time Inode timestamps are now 64-bit wide even on 32-bit machines, and reiserfs interprets the 32-bit on-disk timestamps as unsigned when returning them to user space with statx(), so for consistency we should print them the same way in the emergency console logs. Link: http://lkml.kernel.org/r/20180619154343.3640484-3-arnd@xxxxxxxx Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx> Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx> Cc: Jan Kara <jack@xxxxxxx> Cc: Jeff Mahoney <jeffm@xxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/reiserfs/item_ops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN fs/reiserfs/item_ops.c~reiserfs-use-64-bit-values-in-print_time fs/reiserfs/item_ops.c --- a/fs/reiserfs/item_ops.c~reiserfs-use-64-bit-values-in-print_time +++ a/fs/reiserfs/item_ops.c @@ -33,11 +33,11 @@ static int sd_is_left_mergeable(struct r return 0; } -static char *print_time(time_t t) +static char *print_time(time64_t t) { static char timebuf[256]; - sprintf(timebuf, "%ld", t); + sprintf(timebuf, "%lld", t); return timebuf; } _ Patches currently in -mm which might be from arnd@xxxxxxxx are ocfs2-dlmglue-clean-up-timestamp-handling.patch crash-print-timestamp-using-time64_t.patch sysinfo-remove-get_monotonic_boottime.patch reiserfs-remove-unused-j_timestamp.patch reiserfs-use-monotonic-time-for-j_trans_start_time.patch reiserfs-use-64-bit-values-in-print_time.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html