]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
proc: use kzalloc instead of kmalloc and memset
authoryan <clouds.yan@gmail.com>
Thu, 13 Sep 2012 01:01:29 +0000 (11:01 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 13 Sep 2012 07:28:18 +0000 (17:28 +1000)
commit5a76f448eaea1dcf1af7fee8ffccf03cc6f9a13b
treed27944c1efb895b6fea0e8f6b538386456e0c500
parentb9268788668cfd9ac99608a02d579d0c80ac0456
proc: use kzalloc instead of kmalloc and memset

Part of the memory will be written twice after this change, but that
should be negligible.

Signed-off-by: yan <clouds.yan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/proc/generic.c