diff options
author | Jonathan Brassow <jbrassow@redhat.com> | 2009-04-02 20:55:32 +0200 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2009-04-02 20:55:32 +0200 |
commit | 0cea9c78270cdf1d2ad74ce0e083d5555a0842e8 (patch) | |
tree | 783785811de9ed558ec1179a6bc201dd6161cae6 /drivers/md/dm-exception-store.c | |
parent | dm exception store: introduce registry (diff) | |
download | linux-0cea9c78270cdf1d2ad74ce0e083d5555a0842e8.tar.xz linux-0cea9c78270cdf1d2ad74ce0e083d5555a0842e8.zip |
dm exception store: move dm_target pointer
Move target pointer from snapshot to exception store.
Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
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) } EXPORT_SYMBOL(dm_exception_store_type_unregister); -int dm_exception_store_create(const char *type_name, +int dm_exception_store_create(const char *type_name, struct dm_target *ti, struct dm_exception_store **store) { int r = 0; @@ -155,6 +155,7 @@ int dm_exception_store_create(const char *type_name, } tmp_store->type = type; + tmp_store->ti = ti; r = type->ctr(tmp_store, 0, NULL); if (r) { |