aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-exception-store.h
diff options
context:
space:
mode:
authorJonathan Brassow <jbrassow@redhat.com>2009-04-02 14:55:32 -0400
committerAlasdair G Kergon <agk@redhat.com>2009-04-02 14:55:32 -0400
commit0cea9c78270cdf1d2ad74ce0e083d5555a0842e8 (patch)
tree783785811de9ed558ec1179a6bc201dd6161cae6 /drivers/md/dm-exception-store.h
parent493df71c6420b211a68ae82b889c1e8a5fe701be (diff)
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.h3
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 {
95 95
96struct dm_exception_store { 96struct dm_exception_store {
97 struct dm_exception_store_type *type; 97 struct dm_exception_store_type *type;
98 struct dm_target *ti;
98 99
99 struct dm_snapshot *snap; 100 struct dm_snapshot *snap;
100 101
@@ -147,7 +148,7 @@ static inline void dm_consecutive_chunk_count_inc(struct dm_snap_exception *e)
147int dm_exception_store_type_register(struct dm_exception_store_type *type); 148int dm_exception_store_type_register(struct dm_exception_store_type *type);
148int dm_exception_store_type_unregister(struct dm_exception_store_type *type); 149int dm_exception_store_type_unregister(struct dm_exception_store_type *type);
149 150
150int dm_exception_store_create(const char *type_name, 151int dm_exception_store_create(const char *type_name, struct dm_target *ti,
151 struct dm_exception_store **store); 152 struct dm_exception_store **store);
152void dm_exception_store_destroy(struct dm_exception_store *store); 153void dm_exception_store_destroy(struct dm_exception_store *store);
153 154