diff options
author | Jonathan Brassow <jbrassow@redhat.com> | 2009-04-02 19:55:32 +0100 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2009-04-02 19:55:32 +0100 |
commit | 0cea9c78270cdf1d2ad74ce0e083d5555a0842e8 (patch) | |
tree | 783785811de9ed558ec1179a6bc201dd6161cae6 /drivers/md/dm-exception-store.h | |
parent | 493df71c6420b211a68ae82b889c1e8a5fe701be (diff) | |
download | linux-rpi-0cea9c78270cdf1d2ad74ce0e083d5555a0842e8.tar.gz linux-rpi-0cea9c78270cdf1d2ad74ce0e083d5555a0842e8.tar.bz2 linux-rpi-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.h')
-rw-r--r-- | drivers/md/dm-exception-store.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/md/dm-exception-store.h b/drivers/md/dm-exception-store.h index 31377150080e..4b7f7d441f5f 100644 --- a/drivers/md/dm-exception-store.h +++ b/drivers/md/dm-exception-store.h @@ -95,6 +95,7 @@ struct dm_exception_store_type { struct dm_exception_store { struct dm_exception_store_type *type; + struct dm_target *ti; struct dm_snapshot *snap; @@ -147,7 +148,7 @@ static inline void dm_consecutive_chunk_count_inc(struct dm_snap_exception *e) int dm_exception_store_type_register(struct dm_exception_store_type *type); int dm_exception_store_type_unregister(struct dm_exception_store_type *type); -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); void dm_exception_store_destroy(struct dm_exception_store *store); |