diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-04-17 03:24:39 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-04-17 03:24:39 -0700 |
| commit | e1489536b4ea1269c25364febb6c104963e191c0 (patch) | |
| tree | 5a06e1c43df601590e88ee5a1d26f0dbd99cd583 | |
| parent | ca6cf8bf54c475bdae563502a3acce27c61ec617 (diff) | |
[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().
| -rw-r--r-- | drivers/md/dm-ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-ioctl.c b/drivers/md/dm-ioctl.c index 72915e2ae07c..4f2ce8331fc3 100644 --- a/drivers/md/dm-ioctl.c +++ b/drivers/md/dm-ioctl.c @@ -828,7 +828,7 @@ static void retrieve_status(struct dm_table *table, outptr += strlen(outptr) + 1; used = param->data_start + (outptr - outbuf); - align_ptr(outptr); + outptr = align_ptr(outptr); spec->next = outptr - outbuf; } |
