summaryrefslogtreecommitdiff
path: root/test/io-cancel.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2021-02-24 07:12:47 -0700
committerJens Axboe <axboe@kernel.dk>2021-02-24 07:12:47 -0700
commitd84d90108a1de9caf7636adcc523d451a56dd275 (patch)
tree117e67c2d75b314dcfdd37db8590302e2925099d /test/io-cancel.c
parentb6dfe23e68bfa23e56a2a8798f9788708892abb2 (diff)
downloadliburing-d84d90108a1de9caf7636adcc523d451a56dd275.tar.gz
liburing-d84d90108a1de9caf7636adcc523d451a56dd275.tar.bz2
helpers: prefix any helper with t_ instead of io_uring_
As brought up in an issue, this makes it confusing as to what could potentially be liburing functions. Make it clear that these are test helpers, hence use the t_ prefix for them. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'test/io-cancel.c')
-rw-r--r--test/io-cancel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/io-cancel.c b/test/io-cancel.c
index 1deb430..72ac971 100644
--- a/test/io-cancel.c
+++ b/test/io-cancel.c
@@ -203,9 +203,9 @@ int main(int argc, char *argv[])
if (argc > 1)
return 0;
- io_uring_create_file(".basic-rw", FILE_SIZE);
+ t_create_file(".basic-rw", FILE_SIZE);
- vecs = io_uring_create_buffers(BUFFERS, BS);
+ vecs = t_create_buffers(BUFFERS, BS);
for (i = 0; i < 4; i++) {
int v1 = (i & 1) != 0;