summaryrefslogtreecommitdiffstats
path: root/include/linux/dm-kcopyd.h
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2011-05-29 13:03:13 +0100
committerAlasdair G Kergon <agk@redhat.com>2011-05-29 13:03:13 +0100
commitfa34ce73072f90ecd90dcc43f29d82e70e5f8676 (patch)
tree26f9c986da4433fa8ed00a1685e34709997474b2 /include/linux/dm-kcopyd.h
parent5f43ba2950414dc0abf4ac44c397d88069056746 (diff)
downloadop-kernel-dev-fa34ce73072f90ecd90dcc43f29d82e70e5f8676.zip
op-kernel-dev-fa34ce73072f90ecd90dcc43f29d82e70e5f8676.tar.gz
dm kcopyd: return client directly and not through a pointer
Return client directly from dm_kcopyd_client_create, not through a parameter, making it consistent with dm_io_client_create. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'include/linux/dm-kcopyd.h')
-rw-r--r--include/linux/dm-kcopyd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/dm-kcopyd.h b/include/linux/dm-kcopyd.h
index 312513d..298d587 100644
--- a/include/linux/dm-kcopyd.h
+++ b/include/linux/dm-kcopyd.h
@@ -25,7 +25,7 @@
* To use kcopyd you must first create a dm_kcopyd_client object.
*/
struct dm_kcopyd_client;
-int dm_kcopyd_client_create(struct dm_kcopyd_client **result);
+struct dm_kcopyd_client *dm_kcopyd_client_create(void);
void dm_kcopyd_client_destroy(struct dm_kcopyd_client *kc);
/*
OpenPOWER on IntegriCloud