[Patch 7/10] dm: Correct GFP flag in dm_table_create()

From: Joe Thornber
Date: Tue Feb 10 2004 - 12:22:23 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/