• Jie Liu's avatar
    xfs: clean up unused codes at xfs_bulkstat() · 9cee4c5b
    Jie Liu authored
    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: default avatarJie Liu <jeff.liu@oracle.com>
    Reviewed-by: default avatarDave Chinner <dchinner@redhat.com>
    Signed-off-by: default avatarBen Myers <bpm@sgi.com>
    9cee4c5b
xfs_itable.c 18.9 KB