]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Btrfs: cleanup duplicated division functions
authorMiao Xie <miaox@cn.fujitsu.com>
Thu, 13 Sep 2012 10:51:36 +0000 (04:51 -0600)
committerChris Mason <chris.mason@fusionio.com>
Mon, 1 Oct 2012 19:19:22 +0000 (15:19 -0400)
commit17a6d26005fe62dd85109ce27cb595a28a87676a
tree0ce4f22690022aab6f955e14ed650486ad454dc5
parent90abccf2c6e6e9c5a5d519eaed95292afa30aa11
Btrfs: cleanup duplicated division functions

div_factor{_fine} has been implemented for two times, cleanup it.
And I move them into a independent file named math.h because they are
common math functions.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
fs/btrfs/extent-tree.c
fs/btrfs/math.h [new file with mode: 0644]
fs/btrfs/volumes.c