btrfs: replace remaining do_div calls with div_u64 variants
authorDavid Sterba <dsterba@suse.cz>
Fri, 20 Feb 2015 17:43:47 +0000 (18:43 +0100)
committerDavid Sterba <dsterba@suse.cz>
Tue, 3 Mar 2015 16:24:01 +0000 (17:24 +0100)
commit47c5713f4737e460a3b2535abb8ae2e2afe2d2d0
tree918e1930e0de0e607736cd7845fc4d3db92d24aa
parentb8b93addde1e0192b045da8995e296fc1e40c80f
btrfs: replace remaining do_div calls with div_u64 variants

Switch to div_u64_rem that does type checking and has more obvious
semantics than do_div.

Signed-off-by: David Sterba <dsterba@suse.cz>
fs/btrfs/extent-tree.c
fs/btrfs/free-space-cache.c
fs/btrfs/scrub.c
fs/btrfs/volumes.c