]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/md/dm-exception-store.c
dm exception store: fix exstore lookup to be case insensitive
[karo-tx-linux.git] / drivers / md / dm-exception-store.c
index 75d8081a904175bcff7d3199c2deba4140fc6086..c3ae51584b12f52fc1de3434965329c43a930363 100644 (file)
@@ -216,7 +216,7 @@ int dm_exception_store_create(struct dm_target *ti, int argc, char **argv,
                return -EINVAL;
        }
 
-       type = get_type(argv[1]);
+       type = get_type(&persistent);
        if (!type) {
                ti->error = "Exception store type not recognised";
                r = -EINVAL;