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:09:41 +0000 (17:09 +0100)
commit35b850f16d9adbb833775105ec942fbc818ee6a0
treeae36de1fb9ddd70808d528964f51d57f15745ff6
parentc7abe829c04dc8ce0ecd1c07bf3bc97d2bb9655e
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