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 19:06:48 +0100 |
commit | 0f30af98cbb111cebd99f09cb7b8cc8c9351c0b3 (patch) | |
tree | 1fa005c7f05e77550f0ef6cd0a3752a0422786df /drivers/md/dm-bufio.c | |
parent | dm raid: fix a couple integer overflows (diff) | |
download | linux-0f30af98cbb111cebd99f09cb7b8cc8c9351c0b3.tar.xz linux-0f30af98cbb111cebd99f09cb7b8cc8c9351c0b3.zip |
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 'drivers/md/dm-bufio.c')
0 files changed, 0 insertions, 0 deletions