]> nv-tegra.nvidia Code Review - linux-3.10.git/commit
[PATCH] device-mapper dm-emc: Fix a memset
authorAlasdair G Kergon <agk@redhat.com>
Thu, 5 May 2005 23:16:08 +0000 (16:16 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 5 May 2005 23:36:46 +0000 (16:36 -0700)
commitf1daa40b638891a62e1be40f78d752c500265362
tree5d62da772240a6cb26eddee42c9bf0fc3ce703a3
parentc557308e1f4b6f7d6144a06e8f98c467814f3aed
[PATCH] device-mapper dm-emc: Fix a memset

The dm emc hardware handler code memset the hardware handler structure to zero
AFTER it had initialized the structure's spinlock field.

Signed-Off-By: Alasdair G Kergon <agk@redhat.com>
From: Dave Olien <dmo@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/dm-emc.c