]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/ocfs2/cluster/heartbeat.c
Merge branch 'for-4.10/block' of git://git.kernel.dk/linux-block
[mirror_ubuntu-artful-kernel.git] / fs / ocfs2 / cluster / heartbeat.c
index 52eef16edb01fcdbcd538a9d2f02d030a09eda5d..96a155ab5059455e81687f5590912b9c1ee1b0c9 100644 (file)
@@ -741,7 +741,7 @@ static inline void o2hb_prepare_block(struct o2hb_region *reg,
        hb_block = (struct o2hb_disk_heartbeat_block *)slot->ds_raw_block;
        memset(hb_block, 0, reg->hr_block_bytes);
        /* TODO: time stuff */
-       cputime = CURRENT_TIME.tv_sec;
+       cputime = ktime_get_real_seconds();
        if (!cputime)
                cputime = 1;