ecryptfs: use kzfree()
authorJohannes Weiner <hannes@cmpxchg.org>
Tue, 31 Mar 2009 22:24:42 +0000 (15:24 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Apr 2009 15:59:23 +0000 (08:59 -0700)
commit00fcf2cb6f6bb421851c3ba062c0a36760ea6e53
tree741afc144a87af1aa7915d812924da7d7418611f
parente2801806de1c9c1d03b7d1bfcb2e01dd4d389e80
ecryptfs: use kzfree()

Use kzfree() instead of memset() + kfree().

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Reviewed-by: Pekka Enberg <penberg@cs.helsinki.fi>
Acked-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ecryptfs/keystore.c
fs/ecryptfs/messaging.c