diff options
author | Filipe Manana <[email protected]> | 2022-12-20 11:13:33 +0000 |
---|---|---|
committer | David Sterba <[email protected]> | 2022-12-20 19:43:47 +0100 |
commit | fee4c19937439693f2420a916169d08e88576e8e (patch) | |
tree | c8a450dc24e2ae807e60be66ceba47ee17d01add /scripts/gdb/linux/timerlist.py | |
parent | e7fc357ec03ee109da503af0dd31bbf68514e481 (diff) |
btrfs: fix fscrypt name leak after failure to join log transaction
When logging a new name, we don't expect to fail joining a log transaction
since we know at least one of the inodes was logged before in the current
transaction. However if we fail for some unexpected reason, we end up not
freeing the fscrypt name we previously allocated. So fix that by freeing
the name in case we failed to join a log transaction.
Fixes: ab3c5c18e8fa ("btrfs: setup qstr from dentrys using fscrypt helper")
Reviewed-by: Sweet Tea Dorminy <[email protected]>
Signed-off-by: Filipe Manana <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions