diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2011-05-29 16:03:13 +0400 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2011-05-29 16:03:13 +0400 |
commit | fa34ce73072f90ecd90dcc43f29d82e70e5f8676 (patch) | |
tree | 26f9c986da4433fa8ed00a1685e34709997474b2 /include | |
parent | 5f43ba2950414dc0abf4ac44c397d88069056746 (diff) | |
download | linux-fa34ce73072f90ecd90dcc43f29d82e70e5f8676.tar.xz |
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')
-rw-r--r-- | include/linux/dm-kcopyd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/dm-kcopyd.h b/include/linux/dm-kcopyd.h index 312513d4741a..298d587e349b 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); /* |