[PATCH 1/2] xfs_repair: Add inline function to get avl tree node

Carlos Maiolino cmaiolino at redhat.com
Tue Nov 8 13:02:12 CST 2011


On Tue, Nov 08, 2011 at 12:56:19PM -0600, Eric Sandeen wrote:
> On 11/8/11 12:46 PM, Carlos Maiolino wrote:
> > dd get_inode_offset() inline function, which will return the offset
> > of a specific node in the AVL tree avoiding the need to calculate the
> > the offset each time it needs to be used.
> 
> might be good to find the open-coded instances of this, and
> make them use the helper too.
> 
> -Eric
> 
Yep, I can trck down these instances and replace by this function later
with no problem

-- 
--Carlos




More information about the xfs mailing list