Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 28 Mar 2002 09:48:42 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 28 Mar 2002 09:48:32 -0500 Received: from leibniz.math.psu.edu ([146.186.130.2]:54694 "EHLO math.psu.edu") by vger.kernel.org with ESMTP id ; Thu, 28 Mar 2002 09:48:18 -0500 Date: Thu, 28 Mar 2002 09:48:14 -0500 (EST) From: Alexander Viro To: Nikita Danilov cc: Andrew Morton , lkml , Linus Torvalds Subject: Re: [patch] ext2_fill_super breakage In-Reply-To: <15523.10878.394037.864862@laputa.namesys.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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/