Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 55144
b: refs/heads/master
c: f10bb2d
h: refs/heads/master
v: v3
  • Loading branch information
Tim Shimmin committed May 8, 2007
1 parent c77aa59 commit c7ebff6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ba87ea699ebd9dd577bf055ebc4a98200e337542
refs/heads/master: f10bb2dad02a846966064a531ba6eec301bbb9e0
4 changes: 0 additions & 4 deletions trunk/fs/xfs/xfs_vnodeops.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit c7ebff6

Please sign in to comment.