vfs_io_uring: fix the prefix for parametric options from 'vfs_io_uring' to 'io_uring'
authorStefan Metzmacher <metze@samba.org>
Wed, 6 May 2020 10:05:47 +0000 (03:05 -0700)
committerKarolin Seeger <kseeger@samba.org>
Thu, 14 May 2020 07:25:45 +0000 (07:25 +0000)
This is what the manpage describes.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14361

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit fadc7043a71b409ad60a1a4076a7f88f379d2056)

source3/modules/vfs_io_uring.c

index 378e48d112f60723b74430d8d95da927e2fbec0c..b409d0753379107f3acf899de8a4fa290651f137 100644 (file)
@@ -172,13 +172,13 @@ static int vfs_io_uring_connect(vfs_handle_struct *handle, const char *service,
        }
 
        num_entries = lp_parm_ulong(SNUM(handle->conn),
-                                   "vfs_io_uring",
+                                   "io_uring",
                                    "num_entries",
                                    128);
        num_entries = MAX(num_entries, 1);
 
        sqpoll = lp_parm_bool(SNUM(handle->conn),
-                            "vfs_io_uring",
+                            "io_uring",
                             "sqpoll",
                             false);
        if (sqpoll) {