[PATCH] 2.6.35.4: Fixed simple warning (array subscript is above array bounds)

Christoph Hellwig hch at infradead.org
Thu Sep 16 11:48:35 CDT 2010


On Thu, Sep 16, 2010 at 11:42:02AM -0500, Alex Elder wrote:
> Additionally, the alignment of the overall structure
> will be 64 bits because of hte inumber field.  Expanding
> the name field by another byte will not change that.
> 
> So I think this change is OK.  Can anyone else
> back me up?

We do sizeof requests on a few of these structures, not sure if it
includes this one.  I have a patchset to dust off that gets rid of
all the structures that aren't actually physically on disk.  I'll
try to dust if off and submit it - this was a preparation for the
CRC enablement of the directory structures.




More information about the xfs mailing list