Whamcloud - gitweb
LU-9019 quota : migrate to 64 bit time 52/26452/2
authorJames Simmons <uja.ornl@yahoo.com>
Sat, 8 Apr 2017 16:52:15 +0000 (12:52 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 19 Apr 2017 04:45:06 +0000 (04:45 +0000)
commit2e2c8d59cfdb6d7078f9627ca970920059fcf90f
tree19945cac02ca7a04e777a16d169a18bb87bdd0c5
parented4e8ed4c172f6b442ac41b06fe63de38231ab87
LU-9019 quota : migrate to 64 bit time

Replace cfs_time_current_sec() to avoid the overflow
issues in 2038 with ktime_get_real_seconds(). The
quota uses the libcfs 64 bit time abstraction it
developed before the linux kernel has created its
own. Replace all the libcfs 64 bit time handle with
generic time64_t handling.

Change-Id: Ibf9475c7ba8312561a57d48516ffa9b0b3ae4112
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/26452
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/quota/lquota_internal.h
lustre/quota/qmt_entry.c
lustre/quota/qmt_handler.c
lustre/quota/qmt_lock.c
lustre/quota/qsd_handler.c
lustre/quota/qsd_internal.h
lustre/quota/qsd_writeback.c