Whamcloud - gitweb
LU-11838 osd-ldiskfs: inode times switched to timespec64 47/35247/2
authorLi Dongyang <dongyangli@ddn.com>
Mon, 17 Jun 2019 19:01:36 +0000 (12:01 -0700)
committerOleg Drokin <green@whamcloud.com>
Wed, 3 Jul 2019 03:25:40 +0000 (03:25 +0000)
commitb91d292473a786439e5f384121b81354cfe487f4
tree04f408d1a7892faeadeca44e78b0e7b523792122
parent16fb13eb386380a4eb46b7e016a66cb38a01f54f
LU-11838 osd-ldiskfs: inode times switched to timespec64

Since kernel 4.18 inode times swtich from struct timespec
to timespec64 to make it y2038 safe.

Linux-commit: 95582b00838837fc07e042979320caf917ce3fe6

This patch is back-ported from the following one:
Lustre-commit: 3af55b3159ac2133dc35eeb2f02825848fb65548
Lustre-change: https://review.whamcloud.com/34675

Test-Parameters:trivial
Signed-off-by: Li Dongyang <dongyangli@ddn.com>
Change-Id: Iaddb2f2be27ec348fb97e13371aa3d7e6f6e5c9f
Reviewed-by: Gu Zheng <gzheng@ddn.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/35247
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/autoconf/lustre-core.m4
lustre/osd-ldiskfs/osd_handler.c