diff options
author | Avi Kivity <avi@scylladb.com> | 2018-06-08 17:55:05 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2018-06-15 03:06:19 +0300 |
commit | 94aefd32f431a2c15f9d2c5f8f19dece73a77b52 (patch) | |
tree | faef0ddc08f0b66b708a65d9cdfc9d51dac4ff07 /include/uapi/linux/aio_abi.h | |
parent | 9a6d9a62e0fd4b9927c3124db0f25fc6b4fb6576 (diff) | |
download | linux-94aefd32f431a2c15f9d2c5f8f19dece73a77b52.tar.xz |
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>
Diffstat (limited to 'include/uapi/linux/aio_abi.h')
-rw-r--r-- | include/uapi/linux/aio_abi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/aio_abi.h b/include/uapi/linux/aio_abi.h index 75846164290e..d00221345c19 100644 --- a/include/uapi/linux/aio_abi.h +++ b/include/uapi/linux/aio_abi.h @@ -109,7 +109,7 @@ struct iocb { #undef IFLITTLE struct __aio_sigset { - sigset_t __user *sigmask; + const sigset_t __user *sigmask; size_t sigsetsize; }; |