]> git.baikalelectronics.ru Git - kernel.git/commit
fs/cifs/file.c: replace count*size kzalloc by kcalloc
authorFabian Frederick <fabf@skynet.be>
Wed, 10 Dec 2014 23:41:17 +0000 (15:41 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Dec 2014 01:41:02 +0000 (17:41 -0800)
commit80254f946c0b5f06e2772e93cbf56b573dbb3c4b
tree3de728c6a7e4d025372e568cd1b27b56f8b4b727
parentcce3ecf7e4fdc79629b580ba29e1e6cf73dc7f55
fs/cifs/file.c: replace count*size kzalloc by kcalloc

kcalloc manages count*sizeof overflow.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Steve French <sfrench@samba.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/cifs/file.c