aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2014-07-16 21:04:47 +0000
committerJohn Stultz <[email protected]>2014-07-23 15:01:44 -0700
commitd659f9b135fe26b966a6a4ad7281d35d7dbb1366 (patch)
tree3416ee5247b9dae698bedf918ecfa7e96c2d473b /fs/jbd2/commit.c
parent5eaaed4fe23247f0784edc2973f04134f8180251 (diff)
hwmon: ibmaem: Use ktime_get_ns()
Using the wall clock time for delta time calculations is wrong to begin with because wall clock time can be set from userspace and NTP. Such data wants to be based on clock monotonic. The calculations also are done on a nanosecond basis. Use the nanoseconds based interface right away. Signed-off-by: Thomas Gleixner <[email protected]> Cc: Jean Delvare <[email protected]> Acked-by: Jean Delvare <[email protected]> Signed-off-by: John Stultz <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions