dm crypt: use kzfree
authorJohannes Weiner <hannes@cmpxchg.org>
Thu, 2 Apr 2009 18:55:28 +0000 (19:55 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Thu, 2 Apr 2009 18:55:28 +0000 (19:55 +0100)
commitb81d6cf79b57f6123a5d4f7a4932cc359995484d
treeac3df19b3800c4ecb9e5725ada90c606d542dfbb
parent45194e4f89fbdd97a2b7d2698c05f0b00c19e820
dm crypt: use kzfree

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

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Reviewed-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-crypt.c