NFS: Use kzalloc() instead of kmalloc() in the idmapper
authorBryan Schumaker <bjschuma@netapp.com>
Thu, 9 Aug 2012 18:05:51 +0000 (14:05 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 1 Oct 2012 22:18:44 +0000 (15:18 -0700)
commit57a51048da742c764b6ce5d028c7f334ae04d363
tree21a35aa29c1d04b25b7e00bc375e1cc198a01fe8
parent6938867edba929a65a167a97581231e76aeb10b4
NFS: Use kzalloc() instead of kmalloc() in the idmapper

This will allocate memory that has already been zeroed, allowing us to
remove the memset later on.

Signed-off-by: Bryan Schumaker <bjchuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/idmap.c