Commit e1489536 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] dm: Correctly align the dm_target_spec structures during retrieve_status().

From: Kevin Corry <kevcorry@us.ibm.com>

Correctly align the dm_target_spec structures during retrieve_status().
parent ca6cf8bf
...@@ -828,7 +828,7 @@ static void retrieve_status(struct dm_table *table, ...@@ -828,7 +828,7 @@ static void retrieve_status(struct dm_table *table,
outptr += strlen(outptr) + 1; outptr += strlen(outptr) + 1;
used = param->data_start + (outptr - outbuf); used = param->data_start + (outptr - outbuf);
align_ptr(outptr); outptr = align_ptr(outptr);
spec->next = outptr - outbuf; spec->next = outptr - outbuf;
} }
......
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