diff options
| author | Liu Bo <[email protected]> | 2017-04-03 20:45:33 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2017-04-18 12:07:26 +0000 |
| commit | 972d7219398651aaf7ae086b4f17c3416b51c7db (patch) | |
| tree | 7c58f201d852515a80f401f35eafc1f2590ae395 /fs/btrfs/dev-replace.c | |
| parent | Btrfs: enable repair during read for raid56 profile (diff) | |
| download | kernel-972d7219398651aaf7ae086b4f17c3416b51c7db.tar.gz kernel-972d7219398651aaf7ae086b4f17c3416b51c7db.zip | |
Btrfs: update scrub_parity to use u64 stripe_len
Commit 3d8da6781760 ("Btrfs: fix divide error upon chunk's stripe_len")
changed stripe_len in struct map_lookup to u64, but didn't update
stripe_len in struct scrub_parity.
This updates the type and switches to div64_u64_rem to match u64 divisor.
Cc: David Sterba <[email protected]>
Signed-off-by: Liu Bo <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
