Whamcloud - gitweb
LU-12355 osd-ldiskfs: timespec_trunc removed 50/35050/7
authorShaun Tancheff <stancheff@cray.com>
Thu, 13 Jun 2019 18:27:19 +0000 (13:27 -0500)
committerOleg Drokin <green@whamcloud.com>
Thu, 20 Jun 2019 03:50:32 +0000 (03:50 +0000)
commit1dec2632b68eab9a46d6a81d33a456345b0c0bf7
tree1f061d18f7c9c03c268b667e04c5ae1dde246874
parent8bf31b5fe7f0b89685a8fcec5d6f036e048f838d
LU-12355 osd-ldiskfs: timespec_trunc removed

As part of the y2038 changes:

timespec64_trunc was added in kernel 4.17
inode i_Xtime values are timespec64 in kernel 4.18
timespec_trunc was removed in kernel 4.19

Harden the existing LC_INODE_TIMESPEC64 check and stop
using the deprecated timespec_trunc().

oti_time is set but never used, remove oti_time.

Linux-commit: 8efd6894ff089adeeac7cb9f32125b85d963d1bc
Linux-commit: 95582b00838837fc07e042979320caf917ce3fe6
Linux-commit: 976516404ff3fab2a8caa8bd6f5efc1437fed0b8

Test-Parameters: trivial
Change-Id: Idadbf6ddd9aedbd251d7bbbb5b1486d4aa757ac5
Signed-off-by: Shaun Tancheff <stancheff@cray.com>
Reviewed-on: https://review.whamcloud.com/35050
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
lustre/autoconf/lustre-core.m4
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-ldiskfs/osd_internal.h
lustre/osd-zfs/osd_internal.h