diff options
author | Tim Shimmin <tes@sgi.com> | 2007-05-07 23:49:53 -0400 |
---|---|---|
committer | Tim Shimmin <tes@sgi.com> | 2007-05-07 23:49:53 -0400 |
commit | f10bb2dad02a846966064a531ba6eec301bbb9e0 (patch) | |
tree | dc485e34258bccedc996536c7b50b0b2ecea5f3d /fs/xfs | |
parent | ba87ea699ebd9dd577bf055ebc4a98200e337542 (diff) |
[XFS] Remove unused ilen variable and references.
SGI-PV: 907752
SGI-Modid: xfs-linux-melb:xfs-kern:28344a
Signed-off-by: Tim Shimmin <tes@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Diffstat (limited to 'fs/xfs')
-rw-r--r-- | fs/xfs/xfs_vnodeops.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/xfs/xfs_vnodeops.c b/fs/xfs/xfs_vnodeops.c index e17be3b647be..e2c9bbc27823 100644 --- a/fs/xfs/xfs_vnodeops.c +++ b/fs/xfs/xfs_vnodeops.c | |||
@@ -4289,7 +4289,6 @@ xfs_free_file_space( | |||
4289 | int error; | 4289 | int error; |
4290 | xfs_fsblock_t firstfsb; | 4290 | xfs_fsblock_t firstfsb; |
4291 | xfs_bmap_free_t free_list; | 4291 | xfs_bmap_free_t free_list; |
4292 | xfs_off_t ilen; | ||
4293 | xfs_bmbt_irec_t imap; | 4292 | xfs_bmbt_irec_t imap; |
4294 | xfs_off_t ioffset; | 4293 | xfs_off_t ioffset; |
4295 | xfs_extlen_t mod=0; | 4294 | xfs_extlen_t mod=0; |
@@ -4338,10 +4337,7 @@ xfs_free_file_space( | |||
4338 | } | 4337 | } |
4339 | 4338 | ||
4340 | rounding = max_t(uint, 1 << mp->m_sb.sb_blocklog, NBPP); | 4339 | rounding = max_t(uint, 1 << mp->m_sb.sb_blocklog, NBPP); |
4341 | ilen = len + (offset & (rounding - 1)); | ||
4342 | ioffset = offset & ~(rounding - 1); | 4340 | ioffset = offset & ~(rounding - 1); |
4343 | if (ilen & (rounding - 1)) | ||
4344 | ilen = (ilen + rounding) & ~(rounding - 1); | ||
4345 | 4341 | ||
4346 | if (VN_CACHED(vp) != 0) { | 4342 | if (VN_CACHED(vp) != 0) { |
4347 | xfs_inval_cached_trace(&ip->i_iocore, ioffset, -1, | 4343 | xfs_inval_cached_trace(&ip->i_iocore, ioffset, -1, |