dm bufio: fix time comparison to use time_after_eq()
authorAsaf Vertz <asaf.vertz@tandemg.com>
Tue, 6 Jan 2015 13:44:15 +0000 (15:44 +0200)
committerMike Snitzer <snitzer@redhat.com>
Mon, 9 Feb 2015 18:06:48 +0000 (13:06 -0500)
commitf495339c441b9a69c43327f71c23ffa7632e3020
tree7a87c692342e825a2f093c6f574212bf30cd798f
parent0f30af98cbb111cebd99f09cb7b8cc8c9351c0b3
dm bufio: fix time comparison to use time_after_eq()

To be future-proof and for better readability the time comparison
is modified to use time_after_eq() instead of plain, error-prone math.

Signed-off-by: Asaf Vertz <asaf.vertz@tandemg.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-bufio.c