diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-09-27 15:16:17 +0200 |
---|---|---|
committer | Zorro Lang <zlang@kernel.org> | 2023-10-05 22:41:55 +0800 |
commit | ab81b565f360218e63d71d33d244edae608f9e7a (patch) | |
tree | 0a2291fe0cbd9ba4898a3931f944ca5d6d2e2601 | |
parent | 9b88ac7ee50801254d8f8aad902bf39e269e257e (diff) | |
download | xfstests-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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"); |