diff options
| author | Filipe Manana <[email protected]> | 2016-01-05 16:24:05 +0000 |
|---|---|---|
| committer | Filipe Manana <[email protected]> | 2016-01-06 22:52:38 +0000 |
| commit | 271dba4521aed0c37c063548f876b49f5cd64b2e (patch) | |
| tree | 016938b3f9e791e8381d6a14b16583c14eaf9ef1 /fs/btrfs/async-thread.c | |
| parent | Btrfs: fix number of transaction units required to create symlink (diff) | |
| download | kernel-271dba4521aed0c37c063548f876b49f5cd64b2e.tar.gz kernel-271dba4521aed0c37c063548f876b49f5cd64b2e.zip | |
Btrfs: fix transaction handle leak on failure to create hard link
If we failed to create a hard link we were not always releasing the
the transaction handle we got before, resulting in a memory leak and
preventing any other tasks from being able to commit the current
transaction.
Fix this by always releasing our transaction handle.
Signed-off-by: Filipe Manana <[email protected]>
Reviewed-by: Liu Bo <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions
