Btrfs: release subvolume's block_rsv before transaction commit
authorLiu Bo <bo.li.liu@oracle.com>
Thu, 9 Jan 2014 06:57:06 +0000 (14:57 +0800)
committerChris Mason <clm@fb.com>
Tue, 28 Jan 2014 21:20:29 +0000 (13:20 -0800)
commitde6e8200669f9b60694ca87eadf0a0a99cbdb6aa
tree6ba34667019a48ec0b042d6b4cf0653f3a2518c3
parentf1de968376340c97ac2d7acd25fa3107c398e0e5
Btrfs: release subvolume's block_rsv before transaction commit

We don't have to keep subvolume's block_rsv during transaction commit,
and within transaction commit, we may also need the free space reclaimed
from this block_rsv to process delayed refs.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/ioctl.c