diff options
author | 2022-09-14 18:08:59 +0800 | |
---|---|---|
committer | 2022-09-30 23:46:52 -0400 | |
commit | ccbf8eeb39f2ff00b54726a2b20b35d788c4ecb5 (patch) | |
tree | e786cfd4abac7b6c963235062929c8c311e392d2 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | jbd2: fix potential use-after-free in jbd2_fc_wait_bufs (diff) | |
download | wireguard-linux-ccbf8eeb39f2ff00b54726a2b20b35d788c4ecb5.tar.xz wireguard-linux-ccbf8eeb39f2ff00b54726a2b20b35d788c4ecb5.zip |
ext4: fix miss release buffer head in ext4_fc_write_inode
In 'ext4_fc_write_inode' function first call 'ext4_get_inode_loc' get 'iloc',
after use it miss release 'iloc.bh'.
So just release 'iloc.bh' before 'ext4_fc_write_inode' return.
Cc: stable@kernel.org
Signed-off-by: Ye Bin <yebin10@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20220914100859.1415196-1-yebin10@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions