]> err.no Git - linux-2.6/commit
[PATCH] nfsd: replace kmalloc+memset with kcalloc + simplify NULL check
authorYan Burman <burman.yan@gmail.com>
Fri, 8 Dec 2006 10:39:41 +0000 (02:39 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:29:02 +0000 (08:29 -0800)
commit4b3bb06bea649396490094780f90d315c152f6ab
tree7aa0dac29fe4837735d215effa1dce469e792ab5
parent14d2b59e8c1634ceb995097b162592b0af139578
[PATCH] nfsd: replace kmalloc+memset with kcalloc + simplify NULL check

Replace kmalloc+memset with kcalloc and simplify

Signed-off-by: Yan Burman <burman.yan@gmail.com>
Cc: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/nfsd/nfscache.c
fs/nfsd/vfs.c