aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-exception-store.h
diff options
context:
space:
mode:
authorJonathan Brassow <jbrassow@redhat.com>2009-04-02 14:55:34 -0400
committerAlasdair G Kergon <agk@redhat.com>2009-04-02 14:55:34 -0400
commitfee1998e9c690f9920671e1e0ef187a48cfbbde4 (patch)
treea217e9bc2142350d9e8065c6e581be0524636498 /drivers/md/dm-exception-store.h
parent2e4a31df2b10cbcaf43c333112f6f7440a035c69 (diff)
dm snapshot: move ctr parsing to exception store
First step of having the exception stores parse their own arguments - generalizing the interface. 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.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/md/dm-exception-store.h b/drivers/md/dm-exception-store.h
index 835f402d9470..023a707503c4 100644
--- a/drivers/md/dm-exception-store.h
+++ b/drivers/md/dm-exception-store.h
@@ -167,9 +167,8 @@ static inline chunk_t sector_to_chunk(struct dm_exception_store *store,
167int dm_exception_store_type_register(struct dm_exception_store_type *type); 167int dm_exception_store_type_register(struct dm_exception_store_type *type);
168int dm_exception_store_type_unregister(struct dm_exception_store_type *type); 168int dm_exception_store_type_unregister(struct dm_exception_store_type *type);
169 169
170int dm_exception_store_create(const char *type_name, struct dm_target *ti, 170int dm_exception_store_create(struct dm_target *ti, int argc, char **argv,
171 chunk_t chunk_size, chunk_t chunk_mask, 171 unsigned *args_used,
172 chunk_t chunk_shift, struct dm_dev *cow,
173 struct dm_exception_store **store); 172 struct dm_exception_store **store);
174void dm_exception_store_destroy(struct dm_exception_store *store); 173void dm_exception_store_destroy(struct dm_exception_store *store);
175 174