Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 251773
b: refs/heads/master
c: f1c63b7
h: refs/heads/master
i:
  251771: 5993430
v: v3
  • Loading branch information
Christoph Hellwig authored and Alex Elder committed May 25, 2011
1 parent f5fb094 commit df2bc01
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 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: 00239acf36d3bba8e7c0609e6c473d6e408a2135
refs/heads/master: f1c63b73cf60dc4800cde5ce7fd9466c419e5e36
9 changes: 6 additions & 3 deletions trunk/fs/xfs/xfs_bmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -5143,9 +5143,12 @@ xfs_bunmapi(
*/
ASSERT(bno >= del.br_blockcount);
bno -= del.br_blockcount;
if (bno < got.br_startoff) {
if (--lastx >= 0)
xfs_bmbt_get_all(--ep, &got);
if (got.br_startoff > bno) {
if (--lastx >= 0) {
ep = xfs_iext_get_ext(ifp,
lastx);
xfs_bmbt_get_all(ep, &got);
}
}
continue;
} else if (del.br_state == XFS_EXT_UNWRITTEN) {
Expand Down

0 comments on commit df2bc01

Please sign in to comment.