loop: fix bad bio_alloc() nr_iovec request
authorJens Axboe <jens.axboe@oracle.com>
Fri, 11 Jan 2008 09:14:40 +0000 (10:14 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 11 Jan 2008 09:14:40 +0000 (10:14 +0100)
commita24eab1ed506f3e0bcbcd3f619558935549d4ace
tree9ae2445a6b21787292da1581a61ff0bee49c3637
parentb801a1e7dbca3f51d0a4b22a750ae257196002cb
loop: fix bad bio_alloc() nr_iovec request

Don't allocate room for an iovec when it is not needed.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/loop.c