diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/btrfs/volumes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index 0a8c8f8304b1..91ea57a1474a 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c | |||
@@ -3258,7 +3258,7 @@ static void btrfs_end_bio(struct bio *bio, int err) | |||
3258 | */ | 3258 | */ |
3259 | if (atomic_read(&bbio->error) > bbio->max_errors) { | 3259 | if (atomic_read(&bbio->error) > bbio->max_errors) { |
3260 | err = -EIO; | 3260 | err = -EIO; |
3261 | } else if (err) { | 3261 | } else { |
3262 | /* | 3262 | /* |
3263 | * this bio is actually up to date, we didn't | 3263 | * this bio is actually up to date, we didn't |
3264 | * go over the max number of errors | 3264 | * go over the max number of errors |