]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dm exception store: fix exstore lookup to be case insensitive
authorJonathan Brassow <jbrassow@redhat.com>
Mon, 22 Jun 2009 09:12:15 +0000 (10:12 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 2 Jul 2009 23:50:45 +0000 (16:50 -0700)
commit97af79aa56868336db493c26a2acaf47996ba1d8
treefd60c19deb6b8884cb503f66d3313fc1a6ce369d
parent5c84f975daf48dbbe409486f94fae55b43b1c57a
dm exception store: fix exstore lookup to be case insensitive

commit f6bd4eb73cdf2a5bf954e497972842f39cabb7e3 upstream.

When snapshots are created using 'p' instead of 'P' as the
exception store type, the device-mapper table loading fails.

This patch makes the code case insensitive as intended and fixes some
regressions reported with device-mapper snapshots.

Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Cc: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/md/dm-exception-store.c