[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[dm-devel] [PATCH] dm-ioctl.c: Correctly align dm_target_spec structures
- From: Kevin Corry <kevcorry us ibm com>
- To: DevMapper <dm-devel redhat com>
- Subject: [dm-devel] [PATCH] dm-ioctl.c: Correctly align dm_target_spec structures
- Date: Wed, 31 Mar 2004 09:41:15 -0600
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-03-31 09:22:57.000000000 -0600
+++ source/drivers/md/dm-ioctl.c 2004-03-31 09:23:32.000000000 -0600
@@ -828,7 +828,7 @@
outptr += strlen(outptr) + 1;
used = param->data_start + (outptr - outbuf);
- align_ptr(outptr);
+ outptr = align_ptr(outptr);
spec->next = outptr - outbuf;
}
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]