[PATCH libaio v3 7/9] Rename sigset struct from data to aio_sigset
Guillem Jover <[email protected]> Wed, 17 Jun 2026 03:30:58 +0200
| Newsgroups | gmane.linux.kernel.aio.general |
|---|---|
| Message-ID | <[email protected]> |
From: Guillem Jover <[email protected]> This makes the purpose more clear, and matches the naming in the aio syscall implementation in Linux. Signed-off-by: Guillem Jover <[email protected]> --- src/io_pgetevents.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/io_pgetevents.c b/src/io_pgetevents.c index 9d66dc8..63ff806 100644 --- a/src/io_pgetevents.c +++ b/src/io_pgetevents.c @@ -36,14 +36,14 @@ int io_pgetevents(io_context_t ctx, long min_nr, long nr, struct { unsigned long ss; unsigned long ss_len; - } data; + } aio_sigset; if (aio_ring_is_empty(ctx, timeout)) return 0; - data.ss = (unsigned long)sigmask; - data.ss_len = _NSIG / 8; - return __io_pgetevents(ctx, min_nr, nr, events, timeout, &data); + aio_sigset.ss = (unsigned long)sigmask; + aio_sigset.ss_len = _NSIG / 8; + return __io_pgetevents(ctx, min_nr, nr, events, timeout, &aio_sigset); } #else int io_pgetevents(io_context_t ctx, long min_nr, long nr, -- 2.53.0 -- To unsubscribe, send a message with 'unsubscribe linux-aio' in the body to [email protected]. For more info on Linux AIO, see: http://www.kvack.org/aio/ Don't email: <a href=mailto:"[email protected]">[email protected]</a>