aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/drivers/ubd_kern.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/drivers/ubd_kern.c')
-rw-r--r--arch/um/drivers/ubd_kern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/ubd_kern.c b/arch/um/drivers/ubd_kern.c
index 0eabe73c964d..25b248a02507 100644
--- a/arch/um/drivers/ubd_kern.c
+++ b/arch/um/drivers/ubd_kern.c
@@ -615,7 +615,7 @@ static int ubd_open_dev(struct ubd *ubd_dev)
615 blk_queue_max_sectors(ubd_dev->queue, 8 * sizeof(long)); 615 blk_queue_max_sectors(ubd_dev->queue, 8 * sizeof(long));
616 616
617 err = -ENOMEM; 617 err = -ENOMEM;
618 ubd_dev->cow.bitmap = (void *) vmalloc(ubd_dev->cow.bitmap_len); 618 ubd_dev->cow.bitmap = vmalloc(ubd_dev->cow.bitmap_len);
619 if(ubd_dev->cow.bitmap == NULL){ 619 if(ubd_dev->cow.bitmap == NULL){
620 printk(KERN_ERR "Failed to vmalloc COW bitmap\n"); 620 printk(KERN_ERR "Failed to vmalloc COW bitmap\n");
621 goto error; 621 goto error;