aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/dm-ioctl.c')
-rw-r--r--drivers/md/dm-ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-ioctl.c b/drivers/md/dm-ioctl.c
index 81a79b739e97..12f04868e899 100644
--- a/drivers/md/dm-ioctl.c
+++ b/drivers/md/dm-ioctl.c
@@ -1646,7 +1646,7 @@ static int copy_params(struct dm_ioctl __user *user, struct dm_ioctl *param_kern
1646 if (!dmi) { 1646 if (!dmi) {
1647 unsigned noio_flag; 1647 unsigned noio_flag;
1648 noio_flag = memalloc_noio_save(); 1648 noio_flag = memalloc_noio_save();
1649 dmi = __vmalloc(param_kernel->data_size, GFP_NOIO | __GFP_REPEAT | __GFP_HIGH, PAGE_KERNEL); 1649 dmi = __vmalloc(param_kernel->data_size, GFP_NOIO | __GFP_REPEAT | __GFP_HIGH | __GFP_HIGHMEM, PAGE_KERNEL);
1650 memalloc_noio_restore(noio_flag); 1650 memalloc_noio_restore(noio_flag);
1651 if (dmi) 1651 if (dmi)
1652 *param_flags |= DM_PARAMS_VMALLOC; 1652 *param_flags |= DM_PARAMS_VMALLOC;