Whamcloud - gitweb
LU-11838 lustre: discard LTIME_S macro 69/35169/2
authorNeilBrown <neilb@suse.com>
Tue, 11 Jun 2019 05:23:20 +0000 (22:23 -0700)
committerOleg Drokin <green@whamcloud.com>
Thu, 27 Jun 2019 21:46:37 +0000 (21:46 +0000)
commit16551104ccf583da9a888df9ce51e378c5e052ec
tree0c5d928301ef4ffb5b8ccca958c221e55afd2214
parenta075a457fa373ebf5f002f1f48ed6c56d1ab4dd2
LU-11838 lustre: discard LTIME_S macro

Rather than using a macro, just access the required
field directly.

Linux-commit: 5b7cc4e4ce3cc15f67462ae75c55eecc7edc3a40

This patch is back-ported from the following one:
Lustre-commit: 65a8ff5fbe8ca014bd01150ab102d8aa43f78cff
Lustre-change: https://review.whamcloud.com/33984

Change-Id: I325cac7458265d1cf6ad9f195a513f2612865906
Signed-off-by: NeilBrown <neilb@suse.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Ben Evans <bevans@cray.com>
Reviewed-on: https://review.whamcloud.com/35169
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
12 files changed:
lustre/include/lustre_compat.h
lustre/llite/file.c
lustre/llite/lcommon_cl.c
lustre/llite/llite_lib.c
lustre/llite/namei.c
lustre/llite/vvp_object.c
lustre/lmv/lmv_intent.c
lustre/lmv/lmv_obd.c
lustre/mdc/mdc_lib.c
lustre/mdc/mdc_reint.c
lustre/obdclass/obdo.c
lustre/osd-ldiskfs/osd_handler.c