Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 274703
b: refs/heads/master
c: e12fa9c
h: refs/heads/master
i:
  274701: 1507893
  274699: 87b604c
  274695: 22e27e5
  274687: aec2d0b
v: v3
  • Loading branch information
Jan Schmidt committed Sep 29, 2011
1 parent eaa9296 commit 14842a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 8ddc7d9cd0a00062247c732b96386ec2462bdbc7
refs/heads/master: e12fa9cd390f8e93a9144bd99bd6f6ed316fbc1e
8 changes: 4 additions & 4 deletions trunk/fs/btrfs/scrub.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ static void scrub_fixup(struct scrub_bio *sbio, int ix);
struct scrub_page {
u64 flags; /* extent flags */
u64 generation;
u64 mirror_num;
int mirror_num;
int have_csum;
u8 csum[BTRFS_CSUM_SIZE];
};
Expand Down Expand Up @@ -776,7 +776,7 @@ static int scrub_submit(struct scrub_dev *sdev)
}

static int scrub_page(struct scrub_dev *sdev, u64 logical, u64 len,
u64 physical, u64 flags, u64 gen, u64 mirror_num,
u64 physical, u64 flags, u64 gen, int mirror_num,
u8 *csum, int force)
{
struct scrub_bio *sbio;
Expand Down Expand Up @@ -873,7 +873,7 @@ static int scrub_find_csum(struct scrub_dev *sdev, u64 logical, u64 len,

/* scrub extent tries to collect up to 64 kB for each bio */
static int scrub_extent(struct scrub_dev *sdev, u64 logical, u64 len,
u64 physical, u64 flags, u64 gen, u64 mirror_num)
u64 physical, u64 flags, u64 gen, int mirror_num)
{
int ret;
u8 csum[BTRFS_CSUM_SIZE];
Expand Down Expand Up @@ -919,7 +919,7 @@ static noinline_for_stack int scrub_stripe(struct scrub_dev *sdev,
u64 physical;
u64 logical;
u64 generation;
u64 mirror_num;
int mirror_num;

u64 increment = map->stripe_len;
u64 offset;
Expand Down

0 comments on commit 14842a4

Please sign in to comment.