Home
last modified time | relevance | path

Searched hist:"1389053 e1bed93b75b0c3cd292f61032334c81b3" (Results 1 – 1 of 1) sorted by relevance

/linux/fs/btrfs/
H A Draid56.cdiff 1389053e1bed93b75b0c3cd292f61032334c81b3 Wed May 30 01:44:59 CEST 2018 Kees Cook <keescook@chromium.org> btrfs: raid56: Remove VLA usage

In the quest to remove all stack VLA usage from the kernel[1], this
allocates the working buffers during regular init, instead of using stack
space. This refactors the allocation code a bit to make it easier
to review.

[1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com

Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>