summaryrefslogtreecommitdiff
path: root/fs/btrfs/volumes.c
diff options
context:
space:
mode:
authorLiu Bo <bo.li.liu@oracle.com>2017-04-03 23:45:33 +0300
committerDavid Sterba <dsterba@suse.com>2017-04-18 15:07:26 +0300
commit972d7219398651aaf7ae086b4f17c3416b51c7db (patch)
tree7c58f201d852515a80f401f35eafc1f2590ae395 /fs/btrfs/volumes.c
parentc725328c55443f150577efcf445a7924687342e4 (diff)
downloadlinux-972d7219398651aaf7ae086b4f17c3416b51c7db.tar.xz
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 <dsterba@suse.cz> Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/volumes.c')
0 files changed, 0 insertions, 0 deletions