block: drop duplicated slice extension code
authorStefan Hajnoczi <stefanha@redhat.com>
Fri, 5 Apr 2013 09:32:21 +0000 (11:32 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 5 Apr 2013 16:58:05 +0000 (18:58 +0200)
commite660fb8b3ccc94652774d5895d122c0f13aecb89
tree2920792d5bfd08f2aa6cebbe900796fa5dcf0f0d
parentae29d6c64bd8d55873a2cb1df50ae4321b497447
block: drop duplicated slice extension code

The current slice is extended when an I/O request exceeds the limit.
There is no need to extend the slice every time we check a request.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Tested-By: Benoit Canet <benoit@irqsave.net>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c