diff options
Diffstat (limited to 'fs/btrfs/scrub.c')
-rw-r--r-- | fs/btrfs/scrub.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/btrfs/scrub.c b/fs/btrfs/scrub.c index c21581e0be7a..0d1414659bc1 100644 --- a/fs/btrfs/scrub.c +++ b/fs/btrfs/scrub.c | |||
@@ -2318,7 +2318,7 @@ static inline void __scrub_mark_bitmap(struct scrub_parity *sparity, | |||
2318 | unsigned long *bitmap, | 2318 | unsigned long *bitmap, |
2319 | u64 start, u64 len) | 2319 | u64 start, u64 len) |
2320 | { | 2320 | { |
2321 | int offset; | 2321 | u32 offset; |
2322 | int nsectors; | 2322 | int nsectors; |
2323 | int sectorsize = sparity->sctx->dev_root->sectorsize; | 2323 | int sectorsize = sparity->sctx->dev_root->sectorsize; |
2324 | 2324 | ||
@@ -2611,8 +2611,8 @@ static int get_raid56_logic_offset(u64 physical, int num, | |||
2611 | int j = 0; | 2611 | int j = 0; |
2612 | u64 stripe_nr; | 2612 | u64 stripe_nr; |
2613 | u64 last_offset; | 2613 | u64 last_offset; |
2614 | int stripe_index; | 2614 | u32 stripe_index; |
2615 | int rot; | 2615 | u32 rot; |
2616 | 2616 | ||
2617 | last_offset = (physical - map->stripes[num].physical) * | 2617 | last_offset = (physical - map->stripes[num].physical) * |
2618 | nr_data_stripes(map); | 2618 | nr_data_stripes(map); |