Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 252345
b: refs/heads/master
c: 00d01bc
h: refs/heads/master
i:
  252343: dc216b4
v: v3
  • Loading branch information
Arne Jansen authored and Chris Mason committed May 26, 2011
1 parent 53930dc commit 9cce532
Show file tree
Hide file tree
Showing 2 changed files with 3 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: c309df07868baa8b05d2a70637096465746fdbb5
refs/heads/master: 00d01bc17cc2807292303961519d9c005794eb1d
3 changes: 2 additions & 1 deletion trunk/fs/btrfs/scrub.c
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,8 @@ static int scrub_page(struct scrub_dev *sdev, u64 logical, u64 len,
if (sbio->count == 0) {
sbio->physical = physical;
sbio->logical = logical;
} else if (sbio->physical + sbio->count * PAGE_SIZE != physical) {
} else if (sbio->physical + sbio->count * PAGE_SIZE != physical ||
sbio->logical + sbio->count * PAGE_SIZE != logical) {
scrub_submit(sdev);
goto again;
}
Expand Down

0 comments on commit 9cce532

Please sign in to comment.