OSDN Git Service

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>
Fri, 30 May 2014 21:41:39 +0000 (15:41 -0600)
commitc7bca4183f73f9d013ea8ae572528b48b5e1ee42
tree31ec2e1c9250ca2af53a86c3c120cc61bd043c39
parentee3c5db0896d85187b5f31b5482ed8fd308d31ee
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