aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_vnodeops.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_vnodeops.c')
-rw-r--r--fs/xfs/xfs_vnodeops.c4
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,