[PATCH 15/27] xfs: cleanup the defintion of struct xfs_dir2_sf_entry

Christoph Hellwig hch at infradead.org
Wed Jul 6 03:34:27 CDT 2011


On Tue, Jul 05, 2011 at 10:33:31PM -0500, Alex Elder wrote:
> On Fri, 2011-07-01 at 05:43 -0400, Christoph Hellwig wrote:
> > Remove the inumber member which is at a variable offset after the actual
> > name, and make name a real variable sized C99 array instead of the incorrect
> > one-sized array which confuses (not only) gcc.  Based on this clean up
> > the helpers to calculate the entry size.
> > 
> > Signed-off-by: Christoph Hellwig <hch at lst.de>
> 
> Why was the inode put after then name in the
> first place?

I've wondered that, too.  But it's been long before my time.




More information about the xfs mailing list