Correctly align the dm_target_spec structures during retrieve_status(). This patch applies to both 2.4 and 2.6 kernels. --- diff/drivers/md/dm-ioctl.c 2004-04-05 12:57:08.000000000 +0100 +++ source/drivers/md/dm-ioctl.c 2004-04-06 15:54:15.433160624 +0100 @@ -828,7 +828,7 @@ static void retrieve_status(struct dm_ta outptr += strlen(outptr) + 1; used = param->data_start + (outptr - outbuf); - align_ptr(outptr); + outptr = align_ptr(outptr); spec->next = outptr - outbuf; }