We should use timespec64 instead of timespec, fix to use
ktime_get_ts64.
Change-Id: Id767b9e011443373ffc8f3a3df28b30dde0f0680
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
{
struct logger_log *log = file_get_log(iocb->ki_filp);
struct logger_entry header;
- struct timespec now;
+ struct timespec64 now;
size_t len, count, w_off;
count = min_t(size_t, iov_iter_count(from), LOGGER_ENTRY_MAX_PAYLOAD);
- now = current_kernel_time();
+ ktime_get_ts64(&now);
header.pid = current->tgid;
header.tid = current->pid;