summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAvi Kivity <avi@scylladb.com>2018-06-08 16:55:05 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2018-06-15 02:06:19 +0200
commit94aefd32f431a2c15f9d2c5f8f19dece73a77b52 (patch)
treefaef0ddc08f0b66b708a65d9cdfc9d51dac4ff07 /include
parentfs: aio ioprio use ioprio_check_cap ret val (diff)
downloadlinux-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.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;
};