diff options
| author | Matthias Kaehlcke <mka@chromium.org> | 2017-10-05 11:28:47 -0700 |
|---|---|---|
| committer | Shaohua Li <shli@fb.com> | 2017-10-16 19:06:35 -0700 |
| commit | 584ed9fa9532f8b9d5955628ff87ee3b2ab9f5a9 (patch) | |
| tree | 74425c01ac6620d39402f14cf6142d3d94460704 /drivers/md/bitmap.h | |
| parent | md-cluster: make function cluster_check_sync_size static (diff) | |
| download | linux-584ed9fa9532f8b9d5955628ff87ee3b2ab9f5a9.tar.gz linux-584ed9fa9532f8b9d5955628ff87ee3b2ab9f5a9.zip | |
md: raid10: remove VLAIS
The raid10 driver can't be built with clang since it uses a variable
length array in a structure (VLAIS):
drivers/md/raid10.c:4583:17: error: fields must have a constant size:
'variable length array in structure' extension will never be supported
Allocate the r10bio struct with kmalloc instead of using the VLAIS
construct.
Shaohua: set the MD_RECOVERY_INTR bit
Neil Brown: use GFP_NOIO
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'drivers/md/bitmap.h')
0 files changed, 0 insertions, 0 deletions
