dm exception store: really fix type lookup
commitbac9d5bcb7666d4d6429b4dd00dc8f19295046a9
authorMilan Broz <mbroz@redhat.com>
Tue, 30 Jun 2009 14:18:14 +0000 (30 15:18 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 2 Jul 2009 23:50:48 +0000 (2 16:50 -0700)
tree4529a5cdc57c646a3b7fea38b80679f138734676
parent97af79aa56868336db493c26a2acaf47996ba1d8
dm exception store: really fix type lookup

commit 874d2f61d31e596c36af7732dc1b3aa2dc233824 upstream.

Fix exception store name handling.

We need to reference exception store by zero terminated string.

Fixes regression introduced in commit f6bd4eb73cdf2a5bf954e497972842f39cabb7e3

Cc: Yi Yang <yi.y.yang@intel.com>
Cc: Jonathan Brassow <jbrassow@redhat.com>
Cc: stable@kernel.org
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/md/dm-exception-store.c