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

Ben Myers bpm at sgi.com
Tue Jul 9 15:37:20 CDT 2013


On Tue, Jul 02, 2013 at 08:30:46PM +1000, Dave Chinner wrote:
> 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>

Applied.



More information about the xfs mailing list