diff options
author | Tim Shimmin <tes@sgi.com> | 2007-05-08 05:49:53 +0200 |
---|---|---|
committer | Tim Shimmin <tes@sgi.com> | 2007-05-08 05:49:53 +0200 |
commit | f10bb2dad02a846966064a531ba6eec301bbb9e0 (patch) | |
tree | dc485e34258bccedc996536c7b50b0b2ecea5f3d /fs | |
parent | [XFS] Fix to prevent the notorious 'NULL files' problem after a crash. (diff) | |
download | linux-f10bb2dad02a846966064a531ba6eec301bbb9e0.tar.xz linux-f10bb2dad02a846966064a531ba6eec301bbb9e0.zip |
[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')
-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( int error; xfs_fsblock_t firstfsb; xfs_bmap_free_t free_list; - xfs_off_t ilen; xfs_bmbt_irec_t imap; xfs_off_t ioffset; xfs_extlen_t mod=0; @@ -4338,10 +4337,7 @@ xfs_free_file_space( } rounding = max_t(uint, 1 << mp->m_sb.sb_blocklog, NBPP); - ilen = len + (offset & (rounding - 1)); ioffset = offset & ~(rounding - 1); - if (ilen & (rounding - 1)) - ilen = (ilen + rounding) & ~(rounding - 1); if (VN_CACHED(vp) != 0) { xfs_inval_cached_trace(&ip->i_iocore, ioffset, -1, |