summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorAdam Manzanares <adam.manzanares@wdc.com>2018-05-22 20:52:17 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2018-05-31 17:50:54 +0300
commitaa43457799f715d76cb77342baab0615877e2b8a (patch)
treedf9115b36ef602d0550e9c2626b5c53a705425ac /mm
parent1da92779e2e8f309d5aecbbed346e7f812b174e8 (diff)
downloadlinux-aa43457799f715d76cb77342baab0615877e2b8a.tar.xz
block: add ioprio_check_cap function
Aio per command iopriority support introduces a second interface between userland and the kernel capable of passing iopriority. The aio interface also needs the ability to verify that the submitting context has sufficient privileges to submit IOPRIO_RT commands. This patch creates the ioprio_check_cap function to be used by the ioprio_set system call and also by the aio interface. Signed-off-by: Adam Manzanares <adam.manzanares@wdc.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions