Messages in this thread Patch in this message | | | Date | Tue, 10 Feb 2004 17:01:42 +0000 | From | Joe Thornber <> | Subject | [Patch 7/10] dm: Correct GFP flag in dm_table_create() |
| |
For some reason dm_table_create() was allocating GFP_NOIO rather than GFP_KERNEL. --- diff/drivers/md/dm-table.c 2004-02-10 16:11:17.000000000 +0000 +++ source/drivers/md/dm-table.c 2004-02-10 16:11:58.000000000 +0000 @@ -205,7 +205,7 @@ int dm_table_create(struct dm_table **result, int mode, unsigned num_targets) { - struct dm_table *t = kmalloc(sizeof(*t), GFP_NOIO); + struct dm_table *t = kmalloc(sizeof(*t), GFP_KERNEL); if (!t) return -ENOMEM; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |