Skip to content
Commit 0f30af98 authored by Manuel Schölling's avatar Manuel Schölling Committed by Mike Snitzer
Browse files

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: default avatarManuel Schölling <manuel.schoelling@gmx.de>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 3ca5a21a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment