[PATCH 03/14] xfsprogs: avoid dependency on Linux XATTR_SIZE_MAX

Dave Chinner david at fromorbit.com
Tue Sep 22 22:09:01 CDT 2015


On Tue, Sep 15, 2015 at 11:59:13AM +0200, Jan Tulak wrote:
> Currently, we depends on Linux XATTR value for on disk
> definitions. Which causes trouble on other platforms and
> maybe also if this value was to change.
> 
> Fix it by creating a custom definition independent from
> those in Linux (although with the same values), so it is OK
> with the be16 fields used for holding these attributes.
> 
> Signed-off-by: Jan Tulak <jtulak at redhat.com>

Looks good. We'll need a kernel version of this patch, too.

Reviewed-by: Dave Chinner <dchinner at redhat.com>

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com



More information about the xfs mailing list