]> www.infradead.org Git - users/dwmw2/linux.git/commit
btrfs: move priv off stack in btrfs_encoded_read_regular_fill_pages()
authorMark Harmstone <maharmstone@fb.com>
Tue, 22 Oct 2024 14:50:19 +0000 (15:50 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 11 Nov 2024 13:34:21 +0000 (14:34 +0100)
commit68d3b27e05c7ca5545e88465f5e2be6eda0e11df
treef576027faaf7a4153c13000b133900054339bd2b
parent973a432637ed2ed8fe7c365a3ce7a9e4463af5a8
btrfs: move priv off stack in btrfs_encoded_read_regular_fill_pages()

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>
fs/btrfs/inode.c