mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
btrfs: move priv off stack in btrfs_encoded_read_regular_fill_pages()
[ Upstream commit68d3b27e05] Change btrfs_encoded_read_regular_fill_pages() so that the priv struct is allocated rather than stored on the stack, in preparation for adding an asynchronous mode to the function. Signed-off-by: Mark Harmstone <maharmstone@fb.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com> Stable-dep-of:05b36b04d7("btrfs: fix use-after-free in btrfs_encoded_read_endio()") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
a0f5689a68
commit
13bfaeafbf
1 changed files with 18 additions and 11 deletions
Loading…
Add table
Add a link
Reference in a new issue