diff options
author | Avi Kivity <avi@scylladb.com> | 2018-06-08 16:55:05 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2018-06-15 02:06:19 +0200 |
commit | 94aefd32f431a2c15f9d2c5f8f19dece73a77b52 (patch) | |
tree | faef0ddc08f0b66b708a65d9cdfc9d51dac4ff07 /include | |
parent | fs: aio ioprio use ioprio_check_cap ret val (diff) | |
download | linux-94aefd32f431a2c15f9d2c5f8f19dece73a77b52.tar.xz linux-94aefd32f431a2c15f9d2c5f8f19dece73a77b52.zip |
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')
-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; }; |