[PATCH 01/15] md-cluster: Use kcalloc() in lock_all_bitmaps()

2016-10-01 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 1 Oct 2016 11:18:40 +0200 * A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus reuse the corresponding function "kcalloc". This issue was

[PATCH 01/15] md-cluster: Use kcalloc() in lock_all_bitmaps()

2016-10-01 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 1 Oct 2016 11:18:40 +0200 * A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus reuse the corresponding function "kcalloc". This issue was detected by using the Coccinelle