xfs: clean up unused codes at xfs_bulkstat()
authorJie Liu <jeff.liu@oracle.com>
Mon, 1 Jul 2013 13:51:32 +0000 (21:51 +0800)
committerBen Myers <bpm@sgi.com>
Tue, 9 Jul 2013 20:36:21 +0000 (15:36 -0500)
commit9cee4c5b7b706157554cb06ca949997240da725a
tree638109543b7107a3673adc885fd6c1c34d0e6bb7
parenta69c7c077228b0bef38ccb1d385c099e132fe54b
xfs: clean up unused codes at xfs_bulkstat()

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@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_itable.c