Whamcloud - gitweb
LU-9019 quota : migrate to 64 bit time
[fs/lustre-release.git] / lustre / quota / qsd_internal.h
index 488602c..e6271c7 100644 (file)
@@ -322,7 +322,7 @@ static inline void qsd_set_edquot(struct lquota_entry *lqe, bool edquot)
 {
        lqe->lqe_edquot = edquot;
        if (edquot)
-               lqe->lqe_edquot_time = cfs_time_current_64();
+               lqe->lqe_edquot_time = ktime_get_seconds();
 }
 
 #define QSD_WB_INTERVAL        60 /* 60 seconds */