commit | 4a7d0f6854c4a4ad1dba00a3b128a32d39b9a742 | [log] [tgz] |
---|---|---|
author | Josef Bacik <jbacik@fusionio.com> | Thu Feb 07 16:27:28 2013 -0500 |
committer | Josef Bacik <jbacik@fusionio.com> | Wed Feb 20 12:59:44 2013 -0500 |
tree | 4c190e5f2a5ad42984c01de4c0649ae44f7f773d | |
parent | 5d80366e9b5e56b3ffc1923b4995e83bbbf605e3 [diff] |
Btrfs: cleanup orphan reservation if truncate fails I noticed we were getting lots of warnings with xfstest 83 because we have reservations outstanding. This is because we moved the orphan add outside of the truncate, but we don't actually cleanup our reservation if something fails. This fixes the problem and I no longer see warnings. Thanks, Signed-off-by: Josef Bacik <jbacik@fusionio.com>