mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 00:56:49 +07: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>
This commit is contained in:
parent
9a6d9a62e0
commit
94aefd32f4
@ -109,7 +109,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