block: ensure that the timer is always added
authorJens Axboe <axboe@fb.com>
Fri, 30 May 2014 21:41:39 +0000 (15:41 -0600)
committerJens Axboe <axboe@fb.com>
Mon, 30 Mar 2015 18:54:46 +0000 (12:54 -0600)
commitb9c822d83817bb2032b99fc3e157c6e3266d3c83
tree4897f5c0ede096d381c7e92a23a4fa6a47d3cded
parent43399225938006ced021a4ad996a5b201334bb55
block: ensure that the timer is always added

Commit f793aa537866 relaxed the timer addition a little too much.
If the timer isn't pending, we always need to add it.

Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-timeout.c