btrfs: add assertions for releasing trans handle reservations
authorJosef Bacik <josef@toxicpanda.com>
Fri, 29 Sep 2017 19:44:05 +0000 (15:44 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 30 Oct 2017 11:28:01 +0000 (12:28 +0100)
commitbf2681cb94d13d91326fc098ca98620b595a9d6b
treed043b2142319c00849f436d3912b6dd37ae48c5d
parent3b60d436a165f890597d0226def17858973fa985
btrfs: add assertions for releasing trans handle reservations

These are useful for debugging problems where we mess with
trans->block_rsv to make sure we're not screwing something up.

Signed-off-by: Josef Bacik <jbacik@fb.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.c