block/crypto: rename two functions
commite0d0ddc591a079d2a3da6aa913ba7dd9551fb5ef
authorMaxim Levitsky <mlevitsk@redhat.com>
Thu, 25 Jun 2020 12:55:41 +0000 (25 14:55 +0200)
committerMax Reitz <mreitz@redhat.com>
Mon, 6 Jul 2020 06:49:28 +0000 (6 08:49 +0200)
tree8b34964163555ddb5bffdf122ed97f5d4c0d9d40
parent0b6786a9c1539c9bdacee71e09534e0bf972d865
block/crypto: rename two functions

rename the write_func to create_write_func, and init_func to create_init_func.
This is preparation for other write_func that will be used to update the encryption keys.

No functional changes

Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20200608094030.670121-7-mlevitsk@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/crypto.c