We're down to truncating function parameter names in this one, with the
functions being nbd_unlocked_aio_opt_list_meta_context_queries() and
nbd_unlocked_aio_opt_set_meta_context_queries().
Note that I don't modify the declarations in "lib/unlocked.h": first, that
file is generated, and I'm skipping generated files for now; second, the
declarations and the definitions already call the last parameter
differently ("completion_callback" vs. "complete").
Bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=2172516
Signed-off-by: Laszlo Ersek <lersek(a)redhat.com>
---
lib/opt.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/opt.c b/lib/opt.c
index ab3abf860c5c..f58d5e198365 100644
--- a/lib/opt.c
+++ b/lib/opt.c
@@ -467,10 +467,10 @@ int
nbd_unlocked_aio_opt_list_meta_context_queries (struct nbd_handle *h,
char **queries,
nbd_context_callback *context,
- nbd_completion_callback *complete)
+ nbd_completion_callback *compl)
{
return aio_opt_meta_context_queries (h, NBD_OPT_LIST_META_CONTEXT,
- queries, context, complete);
+ queries, context, compl);
}
/* Issue NBD_OPT_SET_META_CONTEXT without waiting. */
@@ -488,8 +488,8 @@ int
nbd_unlocked_aio_opt_set_meta_context_queries (struct nbd_handle *h,
char **queries,
nbd_context_callback *context,
- nbd_completion_callback *complete)
+ nbd_completion_callback *compl)
{
return aio_opt_meta_context_queries (h, NBD_OPT_SET_META_CONTEXT,
- queries, context, complete);
+ queries, context, compl);
}