btrfs: heuristic: open code get_num callback of radix sort
authorDavid Sterba <dsterba@suse.com>
Tue, 12 Dec 2017 19:35:02 +0000 (20:35 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 22 Jan 2018 15:08:19 +0000 (16:08 +0100)
commit23ae8c63aaf82967536cba8893e5166b80b6d99a
treeaad9beb32f2fad181e49514497287a99d353b51d
parent78f6beacd024e3ab8091a2a5c12ee7031f9ccc38
btrfs: heuristic: open code get_num callback of radix sort

The callback is trivial and we don't need the abstraction for our
purposes. Let's open code it and also make the array types explicit.

Reviewed-by: Timofey Titovets <nefelim4ag@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/compression.c