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:24:00 +0000 (17:24 +0100)
commitb8b93addde1e0192b045da8995e296fc1e40c80f
treed78234932a05c824c0feac2ada9bd0a3fce42f72
parent3284da7b7b585e6e8e98f374a51d234d14c7a0a2
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