btrfs: qgroup: Cleanup old inaccurate facilities
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Tue, 8 Sep 2015 09:25:55 +0000 (17:25 +0800)
committerChris Mason <clm@fb.com>
Thu, 22 Oct 2015 01:41:06 +0000 (18:41 -0700)
commit7cf5b97650f2ecefbd5afa2d58b61b289b6e3750
tree65bdb57078053527218338c59e4e34057d3206d1
parentdf480633b891cf03301d87e56024a8ec3251da5b
btrfs: qgroup: Cleanup old inaccurate facilities

Cleanup the old facilities which use old btrfs_qgroup_reserve() function
call, replace them with the newer version, and remove the "__" prefix in
them.

Also, make btrfs_qgroup_reserve/free() functions private, as they are
now only used inside qgroup codes.

Now, the whole btrfs qgroup is swithed to use the new reserve facilities.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/ctree.h
fs/btrfs/extent-tree.c
fs/btrfs/file.c
fs/btrfs/inode-map.c
fs/btrfs/inode.c
fs/btrfs/ioctl.c
fs/btrfs/qgroup.c
fs/btrfs/qgroup.h
fs/btrfs/relocation.c