summaryrefslogtreecommitdiff
path: root/fs/btrfs/extent-tree.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2018-05-29 16:44:59 -0700
committerDavid Sterba <dsterba@suse.com>2018-05-30 17:15:43 +0200
commit1389053e1bed93b75b0c3cd292f61032334c81b3 (patch)
tree71087216205118034caf293b8bf84090bc791bac /fs/btrfs/extent-tree.c
parent090a127afa8f73e9618d4058d6755f7ec7453dd6 (diff)
downloadlwn-1389053e1bed93b75b0c3cd292f61032334c81b3.tar.gz
lwn-1389053e1bed93b75b0c3cd292f61032334c81b3.zip
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>
Diffstat (limited to 'fs/btrfs/extent-tree.c')
0 files changed, 0 insertions, 0 deletions