Btrfs: switch to div64_u64 if with a u64 divisor
authorLiu Bo <bo.li.liu@oracle.com>
Mon, 3 Apr 2017 20:45:24 +0000 (13:45 -0700)
committerDavid Sterba <dsterba@suse.com>
Tue, 18 Apr 2017 12:07:26 +0000 (14:07 +0200)
commit42c61ab6760f5f6929ebf5a73b7e32b9aa51fbd5
treea497bcc40b6d44e318ec93aad8912db3f2cf0662
parent972d7219398651aaf7ae086b4f17c3416b51c7db
Btrfs: switch to div64_u64 if with a u64 divisor

This is fixing code pieces where we use div_u64 when passing a u64 divisor.

Cc: David Sterba <dsterba@suse.cz>
Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/dev-replace.c
fs/btrfs/scrub.c
fs/btrfs/volumes.c