[PATCH 08/12] xfs: correctly map remote attr buffers during removal

Ben Myers bpm at sgi.com
Mon Aug 5 17:07:04 CDT 2013


On Fri, Jun 07, 2013 at 10:24:57PM +1000, Dave Chinner wrote:
> From: Dave Chinner <dchinner at redhat.com>
> 
> If we don't map the buffers correctly (same as for get/set
> operations) then the incore buffer lookup will fail. If a block
> number matches but a length is wrong, then debug kernels will ASSERT
> fail in _xfs_buf_find() due to the length mismatch. Ensure that we
> map the buffers correctly by basing the length of the buffer on the
> attribute data length rather than the remote block count.
> 
> Signed-off-by: Dave Chinner <dchinner at redhat.com>

Goes with commit 6863ef8449f1908c19f43db572e4474f24a1e9da

Reviewed-by: Ben Myers <bpm at sgi.com>



More information about the xfs mailing list