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
existance 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.
Signed-off-by: Christoph Hellwig <hch@xxxxxx>
Date: Thu Aug 2 17:58:04 AEST 2007
Workarea: chook.melbourne.sgi.com:/build/dgc/isms/2.6.x-xfs
Inspected by: hch@xxxxxx
The following file(s) were checked into:
longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb
Modid: xfs-linux-melb:xfs-kern:29311a
fs/xfs/xfs_da_btree.c - 1.175 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_da_btree.c.diff?r1=text&tr1=1.175&r2=text&tr2=1.174&f=h
- Fix shadowed var in xfs_da_do_buf.
fs/xfs/linux-2.6/xfs_aops.c - 1.147 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_aops.c.diff?r1=text&tr1=1.147&r2=text&tr2=1.146&f=h
- Fix shadowed var in xfs_probe_cluster.
|