diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-01-11 20:44:59 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-01-11 20:44:59 +0100 |
commit | b506d1b6c49a5884ff67a29bc99a1912ee20acee (patch) | |
tree | 0c7734b5cb859d62720c18afdf3fe144b5cce5ff /drivers | |
parent | cache invalidation error for buffered write (diff) | |
parent | blktrace: kill the unneeded initcall (diff) | |
download | linux-b506d1b6c49a5884ff67a29bc99a1912ee20acee.tar.xz linux-b506d1b6c49a5884ff67a29bc99a1912ee20acee.zip |
Merge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block
* 'for-linus' of git://git.kernel.dk/linux-2.6-block:
blktrace: kill the unneeded initcall
block: fix blktrace timestamps
loop: fix bad bio_alloc() nr_iovec request
Don't blatt first element of prv in sg_chain()
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/block/loop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/loop.c b/drivers/block/loop.c index 56e23042728a..b8af22e610df 100644 --- a/drivers/block/loop.c +++ b/drivers/block/loop.c @@ -610,7 +610,7 @@ static int loop_thread(void *data) static int loop_switch(struct loop_device *lo, struct file *file) { struct switch_request w; - struct bio *bio = bio_alloc(GFP_KERNEL, 1); + struct bio *bio = bio_alloc(GFP_KERNEL, 0); if (!bio) return -ENOMEM; init_completion(&w.wait); |