diff options
Diffstat (limited to 'drivers/md/dm-exception-store.c')
-rw-r--r-- | drivers/md/dm-exception-store.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/md/dm-exception-store.c b/drivers/md/dm-exception-store.c index 8912a3637cae..fe0cfa677139 100644 --- a/drivers/md/dm-exception-store.c +++ b/drivers/md/dm-exception-store.c | |||
@@ -137,7 +137,7 @@ int dm_exception_store_type_unregister(struct dm_exception_store_type *type) | |||
137 | } | 137 | } |
138 | EXPORT_SYMBOL(dm_exception_store_type_unregister); | 138 | EXPORT_SYMBOL(dm_exception_store_type_unregister); |
139 | 139 | ||
140 | int dm_exception_store_create(const char *type_name, | 140 | int dm_exception_store_create(const char *type_name, struct dm_target *ti, |
141 | struct dm_exception_store **store) | 141 | struct dm_exception_store **store) |
142 | { | 142 | { |
143 | int r = 0; | 143 | int r = 0; |
@@ -155,6 +155,7 @@ int dm_exception_store_create(const char *type_name, | |||
155 | } | 155 | } |
156 | 156 | ||
157 | tmp_store->type = type; | 157 | tmp_store->type = type; |
158 | tmp_store->ti = ti; | ||
158 | 159 | ||
159 | r = type->ctr(tmp_store, 0, NULL); | 160 | r = type->ctr(tmp_store, 0, NULL); |
160 | if (r) { | 161 | if (r) { |