commit | 0f30af98cbb111cebd99f09cb7b8cc8c9351c0b3 | [log] [tgz] |
---|---|---|
author | Manuel Schölling <manuel.schoelling@gmx.de> | Thu May 22 22:42:37 2014 +0200 |
committer | Mike Snitzer <snitzer@redhat.com> | Mon Feb 09 13:06:48 2015 -0500 |
tree | 1fa005c7f05e77550f0ef6cd0a3752a0422786df | |
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>