Messages in this thread |  | | Date | Thu, 28 Mar 2002 09:48:14 -0500 (EST) | From | Alexander Viro <> | Subject | Re: [patch] ext2_fill_super breakage |
| |
On Thu, 28 Mar 2002, Nikita Danilov wrote:
> Explicit initialization always leaves room for some "pad" field inserted > by compiler for alignment to be left with garbage. This is more than > just annoyance when structure is something that will be written to the > disk. Reiserfs had such problems.
If your structure will be written on disk you'd better have full control over alignment - otherwise you are risking incompatibilities between platforms and compiler versions.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |