diff options
author | Konstantin Khlebnikov <khlebnikov@yandex-team.ru> | 2015-04-02 16:32:15 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2015-04-02 16:32:15 -0400 |
commit | 7071b715873a66b69a9c0c5839963bb51aeae41b (patch) | |
tree | 098e6c33b06dd3ede2d81f1edd4ea1ab1ad3cf05 /fs/ext4/hash.c | |
parent | 1efff914afac8a965ad63817ecf8861a927c2ace (diff) | |
download | linux-7071b715873a66b69a9c0c5839963bb51aeae41b.tar.bz2 |
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>
Diffstat (limited to 'fs/ext4/hash.c')
0 files changed, 0 insertions, 0 deletions