Loading drivers/block/loop.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -610,7 +610,7 @@ static int loop_thread(void *data) static int loop_switch(struct loop_device *lo, struct file *file) static int loop_switch(struct loop_device *lo, struct file *file) { { struct switch_request w; struct switch_request w; struct bio *bio = bio_alloc(GFP_KERNEL, 1); struct bio *bio = bio_alloc(GFP_KERNEL, 0); if (!bio) if (!bio) return -ENOMEM; return -ENOMEM; init_completion(&w.wait); init_completion(&w.wait); Loading Loading
drivers/block/loop.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -610,7 +610,7 @@ static int loop_thread(void *data) static int loop_switch(struct loop_device *lo, struct file *file) static int loop_switch(struct loop_device *lo, struct file *file) { { struct switch_request w; struct switch_request w; struct bio *bio = bio_alloc(GFP_KERNEL, 1); struct bio *bio = bio_alloc(GFP_KERNEL, 0); if (!bio) if (!bio) return -ENOMEM; return -ENOMEM; init_completion(&w.wait); init_completion(&w.wait); Loading