Skip to content
Commit 2cd3ae21 authored by Avi Kivity's avatar Avi Kivity Committed by Linus Torvalds
Browse files

aio: mark __aio_sigset::sigmask const



io_pgetevents() will not change the signal mask.  Mark it const to make
it clear and to reduce the need for casts in user code.

Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarAvi Kivity <avi@scylladb.com>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
[hch: reapply the patch that got incorrectly reverted]
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent e88958e6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment