From 26ea50f50b698c723e1e738e53b7aba69b737d26 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Fri, 11 Jan 2008 10:14:40 +0100 Subject: [PATCH] --- yaml --- r: 75372 b: refs/heads/master c: a24eab1ed506f3e0bcbcd3f619558935549d4ace h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/block/loop.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index bef40994d309..2f1883200865 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b801a1e7dbca3f51d0a4b22a750ae257196002cb +refs/heads/master: a24eab1ed506f3e0bcbcd3f619558935549d4ace diff --git a/trunk/drivers/block/loop.c b/trunk/drivers/block/loop.c index 56e23042728a..b8af22e610df 100644 --- a/trunk/drivers/block/loop.c +++ b/trunk/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);