dm: use vzalloc
authorJoe Perches <joe@perches.com>
Tue, 2 Aug 2011 11:32:02 +0000 (12:32 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Tue, 2 Aug 2011 11:32:02 +0000 (12:32 +0100)
commite29e65aacbd9e628378084905cbcf62a9fa4a8cc
tree279e6e87d60da82c082833205c996d7046b1a46d
parent6c9b27ab08aaf46426515b8b858ad9c60731c7a1
dm: use vzalloc

Use vzalloc() instead of vmalloc()+memset().

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-log.c
drivers/md/dm-snap-persistent.c
drivers/md/dm-table.c