]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
aio: mark __aio_sigset::sigmask const
authorAvi Kivity <avi@scylladb.com>
Fri, 29 Jun 2018 13:37:25 +0000 (15:37 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 29 Jun 2018 13:51:57 +0000 (06:51 -0700)
commit2cd3ae2129736f9019130064d09713a375870941
tree376129f28e4e32923315c26d4255c31907a27be0
parente88958e6369aeba48623afa18dd67fdf41c98d75
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>
[hch: reapply the patch that got incorrectly reverted]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/uapi/linux/aio_abi.h