Commit f092c8fc authored by Kevin Corry's avatar Kevin Corry Committed by Linus Torvalds

[PATCH] fix recent dm breakage

Dammit! I'm not having a good morning. :(

Missing GFP_xxx argument to kmalloc.
parent 52d3662a
......@@ -174,7 +174,7 @@ static void free_cell(struct hash_cell *hc)
static int register_with_devfs(struct hash_cell *hc)
{
struct gendisk *disk = dm_disk(hc->md);
char *name = kmalloc(DM_NAME_LEN + strlen(DM_DIR) + 1);
char *name = kmalloc(DM_NAME_LEN + strlen(DM_DIR) + 1, GFP_KERNEL);
if (!name) {
return -ENOMEM;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment