[PATCH 3/4] xfs: Remote attr validation fixes and optimisations

Dave Chinner david at fromorbit.com
Tue Apr 30 17:16:24 CDT 2013


On Tue, Apr 30, 2013 at 04:31:09PM -0500, Ben Myers wrote:
> Hi Dave,
> 
> On Tue, Apr 30, 2013 at 09:39:35PM +1000, Dave Chinner wrote:
> > From: Dave Chinner <dchinner at redhat.com>
> > 
> > - optimise the calcuation for the number of blocks in a remote
> >   xattr.
> > - check attribute length against MAX_XATTR_SIZE, not MAXPATHLEN
> > - whitespace fixes
> > 
> > Reviewed-by: Dave Chinner <dchinner at redhat.com>
>   Signed-off-by:
> 
> I guess this is what you intended?

Er, yeah. Wrong vim paste macro....

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com



More information about the xfs mailing list