fs: aio ioprio add explicit block layer dependence
authorAdam Manzanares <adam.manzanares@wdc.com>
Mon, 4 Jun 2018 17:59:56 +0000 (10:59 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 4 Jun 2018 18:20:39 +0000 (14:20 -0400)
commitb0966e7b894035dba6710aa4e9f18d7a3a3d5b22
treec1c6f9f8987796e73d49ad144283f2ffd53a83a4
parent087e566916ce2cde4f20a148607c9c3591f46f67
fs: aio ioprio add explicit block layer dependence

Previously, the ioprio_check_cap function was only defined when CONFIG_BLOCK
was set. Make this relationship explicit and add a stub for !CONFIG_BLOCK.

Signed-off-by: Adam Manzanares <adam.manzanares@wdc.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/ioprio.h