[XFS] fix sparse shadowed variable warnings
authorChristoph Hellwig <hch@infradead.org>
Thu, 16 Aug 2007 05:38:19 +0000 (15:38 +1000)
committerTim Shimmin <tes@chook.melbourne.sgi.com>
Wed, 5 Sep 2007 04:50:26 +0000 (14:50 +1000)
commit265c1fac38e37e828df09965406e9cc20bfa3588
tree6f977c9c373bf17ccb7cf79e040cdb9980e526c7
parentee5c80239d5f152d99f69165afbd115518353563
[XFS] fix sparse shadowed variable warnings

- in xfs_probe_cluster rename the inner len to pg_len. There's no harm
  here because the outer len isn't used after the inner len comes into
  existence but it keeps the code clean.
- in xfs_da_do_buf remove the inner i because they don't overlap
  and they are both the same type.

SGI-PV: 968555
SGI-Modid: xfs-linux-melb:xfs-kern:29311a

Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
fs/xfs/linux-2.6/xfs_aops.c
fs/xfs/xfs_da_btree.c