diff options
author | Kees Cook <keescook@chromium.org> | 2018-04-11 06:43:15 +0200 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2018-05-04 16:35:20 +0200 |
commit | 65972a6fa914b16cc15ffcffcb8bea8c64e78f49 (patch) | |
tree | d38714eaabf08f361c6a96467f31f6e94353a07c /Documentation/static-keys.txt | |
parent | dm: fix some sparse warnings and whitespace in dax methods (diff) | |
download | linux-65972a6fa914b16cc15ffcffcb8bea8c64e78f49.tar.xz linux-65972a6fa914b16cc15ffcffcb8bea8c64e78f49.zip |
dm mirror: remove VLA usage
On the quest to remove all VLAs from the kernel[1], this avoids VLAs
in dm-raid1.c by just using the maximum size for the stack arrays.
The nr_mirrors value was already capped at 9, so this makes it a trivial
adjustment to the array sizes.
[1] https://lkml.org/lkml/2018/3/7/621
Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'Documentation/static-keys.txt')
0 files changed, 0 insertions, 0 deletions