aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-exception-store.h
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2009-09-04 20:40:41 +0100
committerAlasdair G Kergon <agk@redhat.com>2009-09-04 20:40:41 +0100
commit2defcc3fb4661e7351cb2ac48d843efc4c64db13 (patch)
tree18be3f5f6c38f8b8b535f05e6004090cd9143af6 /drivers/md/dm-exception-store.h
parent61578dcd3fafe6babd72e8db32110cc0b630a432 (diff)
downloadkernel_samsung_smdk4412-2defcc3fb4661e7351cb2ac48d843efc4c64db13.zip
kernel_samsung_smdk4412-2defcc3fb4661e7351cb2ac48d843efc4c64db13.tar.gz
kernel_samsung_smdk4412-2defcc3fb4661e7351cb2ac48d843efc4c64db13.tar.bz2
dm exception store: split set_chunk_size
Break the function set_chunk_size to two functions in preparation for the fix in the following patch. Cc: stable@kernel.org Signed-off-by: Mikulas Patocka <mpatocka@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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/md/dm-exception-store.h b/drivers/md/dm-exception-store.h
index 2442c8c..812c718 100644
--- a/drivers/md/dm-exception-store.h
+++ b/drivers/md/dm-exception-store.h
@@ -168,6 +168,10 @@ static inline chunk_t sector_to_chunk(struct dm_exception_store *store,
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_set_chunk_size(struct dm_exception_store *store,
+ unsigned long chunk_size_ulong,
+ char **error);
+
int dm_exception_store_create(struct dm_target *ti, int argc, char **argv,
unsigned *args_used,
struct dm_exception_store **store);