diff options
author | Johannes Thumshirn <johannes.thumshirn@wdc.com> | 2024-11-13 18:16:49 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-12-23 21:55:06 +0100 |
commit | d29662695ed7c015521e5fc9387df25aab192a2e (patch) | |
tree | 6811491f4cb6a9e49f7ed108f5dcff21525013bd /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | f10bef73fb355e3fc85e63a50386798be68ff486 (diff) |
btrfs: fix use-after-free waiting for encoded read endios
Fix a use-after-free in the I/O completion path for encoded reads by
using a completion instead of a wait_queue for synchronizing the
destruction of 'struct btrfs_encoded_read_private'.
Fixes: 1881fba89bd5 ("btrfs: add BTRFS_IOC_ENCODED_READ ioctl")
CC: stable@vger.kernel.org # 6.1+
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions