Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346717
b: refs/heads/master
c: af1be4f
h: refs/heads/master
i:
  346715: 59ce0b9
v: v3
  • Loading branch information
Stefan Behrens authored and Chris Mason committed Dec 17, 2012
1 parent 954cddb commit 8fc3fe8
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: f9c83748deb94aba89b5c1085f887ddcdab223ef
refs/heads/master: af1be4f851db4f4975f0139211a6561776ef37c0
3 changes: 2 additions & 1 deletion trunk/fs/btrfs/scrub.c
Original file line number Diff line number Diff line change
Expand Up @@ -2657,7 +2657,8 @@ int scrub_enumerate_chunks(struct scrub_ctx *sctx,
btrfs_put_block_group(cache);
if (ret)
break;
if (atomic64_read(&dev_replace->num_write_errors) > 0) {
if (is_dev_replace &&
atomic64_read(&dev_replace->num_write_errors) > 0) {
ret = -EIO;
break;
}
Expand Down

0 comments on commit 8fc3fe8

Please sign in to comment.