Whamcloud - gitweb
LU-5396: use gfp_t for gfp mask, instead of (unsigned) int
[fs/lustre-release.git] / libcfs / include / libcfs / linux / linux-time.h
index 6fcb751..f85ca34 100644 (file)
@@ -156,7 +156,7 @@ static inline cfs_time_t cfs_time_current(void)
 
 static inline time_t cfs_time_current_sec(void)
 {
-        return CURRENT_SECONDS;
+       return get_seconds();
 }
 
 static inline void cfs_fs_time_current(cfs_fs_time_t *t)