Btrfs: fix delalloc reservation amount tracepoint
commitf485c9ee32531794e39631437fcedc82d5b8e650
authorJosef Bacik <jbacik@fb.com>
Fri, 25 Mar 2016 17:25:55 +0000 (25 13:25 -0400)
committerDavid Sterba <dsterba@suse.com>
Thu, 7 Jul 2016 16:45:53 +0000 (7 18:45 +0200)
tree2120d5a76b712dd0c6590f0c980def0a405f36e9
parentc51e7bb1845079fda515a7acf0514e289aa6a07c
Btrfs: fix delalloc reservation amount tracepoint

We can sometimes drop the reservation we had for our inode, so we need to remove
that amount from to_reserve so that our tracepoint reports a valid amount of
space.

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