summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAvi Kivity <avi@scylladb.com>2018-06-08 17:55:05 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2018-06-14 20:06:19 -0400
commit94aefd32f431a2c15f9d2c5f8f19dece73a77b52 (patch)
treefaef0ddc08f0b66b708a65d9cdfc9d51dac4ff07 /include
parent9a6d9a62e0fd4b9927c3124db0f25fc6b4fb6576 (diff)
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.h2
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;
};