Re: [PATCH 2/3] xfs_db: fix rdbmap_boundscheck

Christoph Hellwig
2020-05-20T17:36:39Z

On Mon, May 18, 2020 at 05:52:23PM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <darrick.wong@oracle.com>
>
> This predicate should check the a rt block number against number of
> rtblocks, not the number of AG blocks. Ooops.
>
> Fixes: 7161cd21b3ed ("xfs_db: bounds-check access to the dbmap array")
> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>

Looks good,

Reviewed-by: Christoph Hellwig <hch@lst.de>