diff options
| author | Kees Cook <[email protected]> | 2018-04-11 04:43:15 +0000 |
|---|---|---|
| committer | Mike Snitzer <[email protected]> | 2018-05-04 14:35:20 +0000 |
| commit | 65972a6fa914b16cc15ffcffcb8bea8c64e78f49 (patch) | |
| tree | d38714eaabf08f361c6a96467f31f6e94353a07c /fs/proc/array.c | |
| parent | dm: fix some sparse warnings and whitespace in dax methods (diff) | |
| download | kernel-65972a6fa914b16cc15ffcffcb8bea8c64e78f49.tar.gz kernel-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 <[email protected]>
Acked-by: Heinz Mauelshagen <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
