btrfs: Use btrfs_space_info_used instead of opencoding it
authorNikolay Borisov <nborisov@suse.com>
Wed, 14 Jun 2017 08:35:34 +0000 (11:35 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Jun 2017 16:26:04 +0000 (18:26 +0200)
commit0eee8a494e786672c57d86c445e24e678d562bf4
tree73c8cdd28b8b8804ac64f4e60b9f8f1d8c7ad2df
parent4fc6441aac75893b4f32415f693d001f290d7d5b
btrfs: Use btrfs_space_info_used instead of opencoding it

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.c