[PATCH 1/2] xfs: don't truncate attribute extents if no extents exist

Christoph Hellwig hch at infradead.org
Sun Jun 21 04:22:10 CDT 2015


On Fri, Jun 19, 2015 at 11:45:23AM -0400, Brian Foster wrote:
> How about this?
> 
>         /*
>          * Invalidate and truncate the attribute fork extents. Make sure the
>          * fork actually has attributes as otherwise the invalidation has no
>          * blocks to read and returns an error. In this case, just do the fork
>          * removal below.
>          */

Yes, that looks good.



More information about the xfs mailing list