diff options
author | Arnd Bergmann <[email protected]> | 2018-08-21 21:59:05 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2018-08-22 10:52:49 -0700 |
commit | 21a1a52dbdd5c9dc17c546bbdb95038f53515d2c (patch) | |
tree | 523229f8ff9767c3e44b68c160a73f70a7f246d5 /tools/perf/scripts/python | |
parent | cbf6898fd69455092c43cd573b38d42c86ddb1e0 (diff) |
nilfs2: use 64-bit superblock timstamps
The mount time field in the superblock uses a 64-bit timestamp, but
calling get_seconds() may truncate the current time to 32 bits.
This changes it to ktime_get_real_seconds() to avoid the potential
overflow.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnd Bergmann <[email protected]>
Acked-by: Ryusuke Konishi <[email protected]>
Cc: David Howells <[email protected]>
Cc: Jeff Layton <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions