[PATCH 00/15] md-cluster: Fine-tuning for ten function implementations

From: SF Markus Elfring
Date: Sat Oct 01 2016 - 10:45:26 EST


From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 1 Oct 2016 16:38:17 +0200

Several update suggestions were taken into account
from static source code analysis.

Markus Elfring (15):
Use kcalloc() in lock_all_bitmaps()
Improve another size determination in resync_info_update()
Improve another size determination in join()
Improve another size determination in __sendmsg()
Improve another size determination in recv_daemon()
Rename a jump label in recv_daemon()
Improve another size determination in process_suspend_info()
Improve determination of sizes in read_resync_info()
Improve another size determination in lockres_init()
Delete an unnecessary variable initialisation in lockres_init()
Delete four error messages for a failed memory allocation
Rename a jump label in area_resyncing()
Less function calls in join() after error detection
Less function calls in lockres_init() after error detection
Delete unnecessary braces in unlock_all_bitmaps()

drivers/md/md-cluster.c | 114 ++++++++++++++++++++++++------------------------
1 file changed, 56 insertions(+), 58 deletions(-)

--
2.10.0