nfsd: use kmem_cache_free() instead of kfree()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 9 Apr 2013 06:15:31 +0000 (14:15 +0800)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 9 Apr 2013 13:08:47 +0000 (09:08 -0400)
commit2c44a23471d048118e49b616d08df0729cdbd9f1
tree5ac9a2901ed69c5a5e870023bce461513200f55f
parent9411b1d4c7df26dca6bc6261b5dc87a5b4c81e5c
nfsd: use kmem_cache_free() instead of kfree()

memory allocated by kmem_cache_alloc() should be freed using
kmem_cache_free(), not kfree().

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Cc: stable@kernel.org
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c