]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: handle quota reserve failure properly
authorJosef Bacik <jbacik@fb.com>
Thu, 15 Sep 2016 18:57:48 +0000 (14:57 -0400)
committerChris Mason <clm@fb.com>
Thu, 22 Sep 2016 00:22:16 +0000 (17:22 -0700)
commit1bfc58727cd6c81e010f72efc89e5d69ae63aa28
tree0c5437b1e903466b9cb5aa60e6ac11d73785ecb2
parent08f089a9799697a28f319f99e99dce12f0649ab0
Btrfs: handle quota reserve failure properly

btrfs/022 was spitting a warning for the case that we exceed the quota.  If we
fail to make our quota reservation we need to clean up our data space
reservation.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fb.com>
Tested-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/extent-tree.c