btrfs: move the space info update macro to space-info.h
authorJosef Bacik <josef@toxicpanda.com>
Tue, 18 Jun 2019 20:09:21 +0000 (16:09 -0400)
committerDavid Sterba <dsterba@suse.com>
Tue, 2 Jul 2019 10:30:52 +0000 (12:30 +0200)
commitbb96c4e5742022b79b5bda5f52218b3d2785accd
treeb0a50be851eaec78aa2694de5d83ea9014f5aad6
parent41783ef24d56ce45452db7c413df9a3bdcc8d651
btrfs: move the space info update macro to space-info.h

Also rename it to btrfs_space_info_update_* so it's clear what we're
updating.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.c
fs/btrfs/space-info.h