btrfs: scrub: clean up division in __scrub_mark_bitmap
authorDavid Sterba <dsterba@suse.com>
Fri, 31 Mar 2017 16:02:48 +0000 (18:02 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 21 Aug 2017 15:47:42 +0000 (17:47 +0200)
commit7736b0a4313c936dc8ccb87e8acf447e12ae2fd1
treed244bd9fa4e13519f964754bfb1d0a268513f45f
parent2073c4c2e51a9343af10862ba478e7a67d6caf04
btrfs: scrub: clean up division in __scrub_mark_bitmap

Use proper helpers for 64bit division and then cast to narrower type.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/scrub.c