btrfs: cleanup 64bit/32bit divs, provably bounded values
authorDavid Sterba <dsterba@suse.cz>
Fri, 16 Jan 2015 16:26:13 +0000 (17:26 +0100)
committerDavid Sterba <dsterba@suse.cz>
Tue, 3 Mar 2015 16:09:33 +0000 (17:09 +0100)
commitc7abe829c04dc8ce0ecd1c07bf3bc97d2bb9655e
tree6913476cd57211a6fa75b4ffdc8b689b221dd632
parent16068ec19f497bd80552332b4523150884888a7a
btrfs: cleanup 64bit/32bit divs, provably bounded values

The divisor is derived from nodesize or PAGE_SIZE, fits into 32bit type.
Get rid of a few more do_div instances.

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