Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs
[sfrench/cifs-2.6.git] / fs / ocfs2 / super.c
index 5b9c0dfdb541b68e960562ccec790d7256a92cd7..a24e42f953418b1d675481ed826d47106c1730f4 100644 (file)
@@ -337,7 +337,7 @@ static int ocfs2_osb_dump(struct ocfs2_super *osb, char *buf, int len)
                out += snprintf(buf + out, len - out, "Disabled\n");
        else
                out += snprintf(buf + out, len - out, "%lu seconds ago\n",
-                               (get_seconds() - os->os_scantime.tv_sec));
+                               (unsigned long)(ktime_get_seconds() - os->os_scantime));
 
        out += snprintf(buf + out, len - out, "%10s => %3s  %10s\n",
                        "Slots", "Num", "RecoGen");