diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-06-20 15:15:24 -0500 |
---|---|---|
committer | Bob Peterson <rpeterso@redhat.com> | 2018-06-21 07:40:23 -0500 |
commit | ee9c7f9ae3d4fb9fb5c9cacbe3880d5dd66feb16 (patch) | |
tree | e098ae883205fd0e8a21d033f8b5276c85558ca1 /fs/gfs2 | |
parent | 00251a16d7f9eb380437b402def05cd7c1b16c09 (diff) |
gfs2: call ktime_get_coarse_real_ts64() directly
current_kernel_time64() is now just a deprecated wrapper around
ktime_get_coarse_real_ts64(), so let's just call that directly.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'fs/gfs2')
-rw-r--r-- | fs/gfs2/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/log.c b/fs/gfs2/log.c index a767fad02386..ee20ea42e7b5 100644 --- a/fs/gfs2/log.c +++ b/fs/gfs2/log.c @@ -701,7 +701,7 @@ void gfs2_write_log_header(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd, hash = ~crc32(~0, lh, LH_V1_SIZE); lh->lh_hash = cpu_to_be32(hash); - tv = current_kernel_time64(); + ktime_get_coarse_real_ts64(&tv); lh->lh_nsec = cpu_to_be32(tv.tv_nsec); lh->lh_sec = cpu_to_be64(tv.tv_sec); addr = gfs2_log_bmap(sdp); |