diff options
author | Manuel Schölling <manuel.schoelling@gmx.de> | 2014-05-22 22:42:37 +0200 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2015-02-09 13:06:48 -0500 |
commit | 0f30af98cbb111cebd99f09cb7b8cc8c9351c0b3 (patch) | |
tree | 1fa005c7f05e77550f0ef6cd0a3752a0422786df /lib/bug.c | |
parent | 3ca5a21a9c02bdebe2d95268482031f002efcf23 (diff) |
dm: use time_in_range() and time_after()
To be future-proof and for better readability the time comparisons are modified
to use time_in_range() and time_after() instead of plain, error-prone math.
Signed-off-by: Manuel Schölling <manuel.schoelling@gmx.de>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'lib/bug.c')
0 files changed, 0 insertions, 0 deletions