]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit76bc48635806eed074dfe1171f1ec6835a2bf1a3
tree638109543b7107a3673adc885fd6c1c34d0e6bb7
parent4c9434b466b33c1ed954871a496ab848c552b4ff
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