diff options
author | Filipe Manana <fdmanana@suse.com> | 2015-12-10 14:08:59 +0300 |
---|---|---|
committer | Filipe Manana <fdmanana@suse.com> | 2015-12-10 14:23:24 +0300 |
commit | 8a7d656f3dfb7889316ba57502f1eaa6106fd6f8 (patch) | |
tree | 7ceb81382f358d878240a8d56a61928c164850a5 /fs/nsfs.c | |
parent | 348a0013d54acec35c22958480af054b97b5e4fe (diff) | |
download | linux-8a7d656f3dfb7889316ba57502f1eaa6106fd6f8.tar.xz |
Btrfs: fix transaction handle leak in balance
If we fail to allocate a new data chunk, we were jumping to the error path
without release the transaction handle we got before. Fix this by always
releasing it before doing the jump.
Fixes: 2c9fe8355258 ("btrfs: Fix lost-data-profile caused by balance bg")
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Diffstat (limited to 'fs/nsfs.c')
0 files changed, 0 insertions, 0 deletions