Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
md/raid5: fix new memory-reference bug in alloc_thread_groups.
In alloc_thread_groups, worker_groups is a pointer to an array, not an array of pointers. So worker_groups[i] is wrong. It should be &(*worker_groups)[i] Found-by: coverity Fixes: 60aaf93 Reported-by: Ben Hutchings <[email protected]> Cc: majianpeng <[email protected]> Signed-off-by: NeilBrown <[email protected]>
- Loading branch information