[PATCH 6/6] xfs: pad xfs_attr_leaf_name_remote to avoid tripping on m68k
Christoph Hellwig
hch at infradead.org
Tue Mar 8 01:02:08 CST 2016
On Tue, Mar 08, 2016 at 02:56:48PM +1100, Dave Chinner wrote:
> > I think using a small fixed size array as a variable sized array
> > is not a good idea, especially with increasinly "smart" optimizing
> > compilers. I'd rather take this structure out the size checking,
> > and then move it to a C99 VLA instead of the size 1 hack in the long
> > run.
>
> I don't have the time right now to do this, so I'm just going to
> drop it - I'd guess the overlap between m68k and XFS users is so
> close to zero that it just doesn't matter. I'll just drop this
> patch for now.
I'll send you a patch for it.
More information about the xfs
mailing list