diff options
| author | 2026-08-19 10:54:33 +0800 | |
|---|---|---|
| committer | 2026-10-05 16:05:43 +0200 | |
| commit | a8ea92830b3e0e163d4e829bdcb17ca83c0f951c (patch) | |
| tree | 12f7a0057ccb41e5e71a23ab818a8506d2fa4136 /scripts/Makefile.thinlto | |
| parent | btrfs: always return -EIOCBQUEUED after btrfs_uring_read_extent_endio (diff) | |
btrfs: free iov when btrfs_uring_read_extent() fails
After btrfs_uring_read_extent(), the caller always jumped to out_acct.
That skips kfree(data->iov), which is only correct for -EIOCBQUEUED
where the deferred path owns the iov. On failure, fall through to
out_free instead.
Fixes: 34310c442e17 ("btrfs: add io_uring command for encoded reads (ENCODED_READ ioctl)")
Signed-off-by: Yang Xiuwei <yangxiuwei@kylinos.cn>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
