[PATCH] Device-Mapper 6/9

From: Kevin Corry
Date: Mon Apr 12 2004 - 09:33:02 EST


Correctly align the dm_target_spec structures during retrieve_status().

--- diff/drivers/md/dm-ioctl.c 2004-04-03 21:36:53.000000000 -0600
+++ source/drivers/md/dm-ioctl.c 2004-04-09 09:42:29.000000000 -0500
@@ -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;
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/