Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 339415
b: refs/heads/master
c: d6638ae
h: refs/heads/master
i:
  339413: 1ff932c
  339411: 4dbe2c6
  339407: 5692e40
v: v3
  • Loading branch information
Andrew Dahl authored and Ben Myers committed Nov 14, 2012
1 parent e6d0b09 commit 50c50a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: f5b8911b67eb4f15d95d5e5324d376d4a49d56e8
refs/heads/master: d6638ae244f6323fcdf85e72eb4a5af6f6212893
2 changes: 1 addition & 1 deletion trunk/fs/xfs/xfs_vnodeops.c
Original file line number Diff line number Diff line change
Expand Up @@ -2188,7 +2188,7 @@ xfs_change_file_space(
case XFS_IOC_ZERO_RANGE:
prealloc_type |= XFS_BMAPI_CONVERT;
end = round_down(startoffset + bf->l_len, PAGE_SIZE) - 1;
if (startoffset > end)
if (startoffset <= end)
truncate_pagecache_range(VFS_I(ip), startoffset, end);
/* FALLTHRU */
case XFS_IOC_RESVSP:
Expand Down

0 comments on commit 50c50a9

Please sign in to comment.