aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-09-27 15:16:17 +0200
committerZorro Lang <zlang@kernel.org>2023-10-05 22:41:55 +0800
commitab81b565f360218e63d71d33d244edae608f9e7a (patch)
tree0a2291fe0cbd9ba4898a3931f944ca5d6d2e2601
parent9b88ac7ee50801254d8f8aad902bf39e269e257e (diff)
downloadxfstests-dev-ab81b565f360218e63d71d33d244edae608f9e7a.tar.gz
fsx: Add a return type to aio_rw
Compilers complain about the function prototype otherwise Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com> Cc: "Darrick J. Wong" <djwong@kernel.org> Cc: Zorro Lang <zlang@redhat.com> Reviewed-by: "Darrick J. Wong" <djwong@kernel.org> Signed-off-by: Zorro Lang <zlang@kernel.org>
-rw-r--r--ltp/fsx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ltp/fsx.c b/ltp/fsx.c
index ccb382e775..a30e2a8dbc 100644
--- a/ltp/fsx.c
+++ b/ltp/fsx.c
@@ -2592,6 +2592,7 @@ out_error:
return -1;
}
#else
+int
aio_rw(int rw, int fd, char *buf, unsigned len, unsigned offset)
{
fprintf(stderr, "io_rw: need AIO support!\n");