btrfs: extent-tree: Add new version of btrfs_delalloc_reserve/release_space
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Tue, 8 Sep 2015 09:25:53 +0000 (17:25 +0800)
committerChris Mason <clm@fb.com>
Thu, 22 Oct 2015 01:41:05 +0000 (18:41 -0700)
commit1ada3a62b56605befdfc34d6d1796601c0869103
treeb8611a15b25945c89fc9d5bf221a36176750bc2a
parentd9d8b2a51a404c2d45b9dc4c755f62cb3ddb7c79
btrfs: extent-tree: Add new version of btrfs_delalloc_reserve/release_space

Add new version of btrfs_delalloc_reserve_space() and
btrfs_delalloc_release_space() functions, which supports accurate qgroup
reserve.

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