mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
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: Christoph Hellwig <hch@lst.de> Signed-off-by: Avi Kivity <avi@scylladb.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> [hch: reapply the patch that got incorrectly reverted] Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
e88958e636
commit
2cd3ae2129
@ -111,7 +111,7 @@ struct iocb {
|
||||
#undef IFLITTLE
|
||||
|
||||
struct __aio_sigset {
|
||||
sigset_t __user *sigmask;
|
||||
const sigset_t __user *sigmask;
|
||||
size_t sigsetsize;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user