btrfs-progs: Add functions to modify the used space by a root
commit4d918a7299459174dec85f2056eb11c087dd7dbf
authorNikolay Borisov <nborisov@suse.com>
Fri, 8 Jun 2018 12:47:46 +0000 (8 15:47 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 6 Aug 2018 13:01:48 +0000 (6 15:01 +0200)
tree85c878c874e0ef5999fff27f9177c42ae422b0ee
parentdddc3f44c9b74695fb5860d9fdb246f5f78ebbaa
btrfs-progs: Add functions to modify the used space by a root

Pull the necessary function, excluding locking. Required to enable
integration of delayed refs.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
ctree.c