[PATCH 45/48] xfs_repair: fix btree block magic number mapping

Ben Myers bpm at sgi.com
Mon Aug 5 16:16:58 CDT 2013


On Fri, Jun 07, 2013 at 10:26:08AM +1000, Dave Chinner wrote:
> From: Dave Chinner <dchinner at redhat.com>
> 
> The magic numbers for generic btree blocks were modified some time
> ago (before the kernel code was committed) but the xfs_repair
> mapping code was not updated to match. It's no longer a simple
> mapping, so just make the code a dense array and use the magic
> number as the search key.
> 
> Signed-off-by: Dave Chinner <dchinner at redhat.com>

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



More information about the xfs mailing list