xfs
[Top] [All Lists]

Re: [PATCH 4/9] xfs: do not use unchecked extent indices in xfs_bmap_add

To: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Subject: Re: [PATCH 4/9] xfs: do not use unchecked extent indices in xfs_bmap_add_extent_*
From: Alex Elder <aelder@xxxxxxx>
Date: Tue, 24 May 2011 19:30:49 -0500
Cc: <xfs@xxxxxxxxxxx>
In-reply-to: <20110511150711.989383617@xxxxxxxxxxxxxxxxxxxxxx>
References: <20110511150402.258164661@xxxxxxxxxxxxxxxxxxxxxx> <20110511150711.989383617@xxxxxxxxxxxxxxxxxxxxxx>
Reply-to: <aelder@xxxxxxx>
On Wed, 2011-05-11 at 11:04 -0400, Christoph Hellwig wrote:
> Make sure to only call xfs_iext_get_ext after we've validate the extent index
> in the various xfs_bmap_add_extent_* helpers.
> 
> Based on an earlier patch from Lachlan McIlroy.
> 
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Looks good.

Reviewed-by: Alex Elder <aelder@xxxxxxx>


<Prev in Thread] Current Thread [Next in Thread>