commit | 7071b715873a66b69a9c0c5839963bb51aeae41b | [log] [tgz] |
---|---|---|
author | Konstantin Khlebnikov <khlebnikov@yandex-team.ru> | Thu Apr 02 16:32:15 2015 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Thu Apr 02 16:32:15 2015 -0400 |
tree | 098e6c33b06dd3ede2d81f1edd4ea1ab1ad3cf05 | |
parent | 1efff914afac8a965ad63817ecf8861a927c2ace [diff] |
ext4: fix bh leak on error paths in ext4_rename() and ext4_cross_rename() Release references to buffer-heads if ext4_journal_start() fails. Fixes: 5b61de757535 ("ext4: start handle at least possible moment when renaming files") Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Jan Kara <jack@suse.cz>