Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 128714
b: refs/heads/master
c: 73f61b2
h: refs/heads/master
v: v3
  • Loading branch information
Miguel authored and Chris Mason committed Sep 25, 2008
1 parent 78c3dd5 commit 7053468
Show file tree
Hide file tree
Showing 3 changed files with 9 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: 594994aa3ea4cb52cba9c83a4b6f03e6ff3a646e
refs/heads/master: 73f61b2a6459df982cb4faf0e5cf5ac8b153aaff
5 changes: 4 additions & 1 deletion trunk/fs/btrfs/disk-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -949,11 +949,14 @@ void btrfs_end_io_csum(struct work_struct *work)
bio->bi_private = end_io_wq->private;
bio->bi_end_io = end_io_wq->end_io;
kfree(end_io_wq);
#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,23)
bio_endio(bio, bio->bi_size, err);
#else
bio_endio(bio, error);
#endif
}
}


struct btrfs_root *open_ctree(struct super_block *sb,
struct btrfs_fs_devices *fs_devices)
{
Expand Down
4 changes: 4 additions & 0 deletions trunk/fs/btrfs/volumes.c
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,11 @@ static int end_bio_multi_stripe(struct bio *bio,
err = multi->error;
kfree(multi);

#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,23)
bio_endio(bio, bio->bi_size, err);
#else
bio_endio(bio, err);
#endif
} else {
bio_put(bio);
}
Expand Down

0 comments on commit 7053468

Please sign in to comment.