commit | 581b5df3b18dd95d77efad330e7f4c811682c76b | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Mon Dec 15 13:45:53 2014 -0700 |
committer | Mohamad Ayyash <mkayyash@google.com> | Fri Mar 06 17:58:08 2015 -0800 |
tree | 44f16b87f91274097a740460ef91c8b1b021420f | |
parent | d55dd0413b5f2df5e637c9c6e752b4272e4a1e5f [diff] |
backend: fix off-by-one in nsec calculation If it's equal to 10^9 we need to bump seconds and subtract 10^9 from nsec, not only if it's larger than. Signed-off-by: Jens Axboe <axboe@fb.com>