[PATCH] xfs: clean up unused codes at xfs_bulkstat()

Dave Chinner david at fromorbit.com
Tue Jul 2 05:30:46 CDT 2013


On Mon, Jul 01, 2013 at 09:51:32PM +0800, Jeff Liu wrote:
> From: Jie Liu <jeff.liu at oracle.com>
> 
> There are some unused codes at xfs_bulkstat():
> 
> - Variable bp is defined to point to the on-disk inode cluster
>   buffer, but it proved to be of no practical help.
> 
> - We process the chunks of good inodes which were fetched by iterating
>   btree records from an AG.  When processing inodes from each chunk,
>   the code recomputing agbno if run into the first inode of a cluster,
>   however, the agbno is not being used thereafter.
> 
> This patch tries to clean up those things.
> 
> Signed-off-by: Jie Liu <jeff.liu at oracle.com>

Reviewed-by: Dave Chinner <dchinner at redhat.com>

-- 
Dave Chinner
david at fromorbit.com



More information about the xfs mailing list