diff options
author | Josef Bacik <jbacik@fusionio.com> | 2013-02-07 16:27:28 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-14 11:26:35 -0700 |
commit | 5cb065d3405ac7549caedccd92e7e51adce916bd (patch) | |
tree | 7c1b02c00bbd497fbf0c2280ef388317343e15b6 /arch/x86/kernel | |
parent | 5f62c696e2fed435824de55e6ceba73abe2304bf (diff) |
Btrfs: cleanup orphan reservation if truncate fails
commit 4a7d0f6854c4a4ad1dba00a3b128a32d39b9a742 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86/kernel')
0 files changed, 0 insertions, 0 deletions