]> git.baikalelectronics.ru Git - kernel.git/commit
aio: fix failure to put the file pointer
authorJens Axboe <axboe@kernel.dk>
Sat, 17 Nov 2018 14:43:42 +0000 (07:43 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 17 Nov 2018 15:05:07 +0000 (10:05 -0500)
commit4ff0a6a14aa49add10ae1d9ae0d07fbb27fb336f
treee5ffef375a649e60652f82da033e808663c66bf1
parentb59338de688a3c4970a6a0b65ed67ebde3ff3b4a
aio: fix failure to put the file pointer

If the ioprio capability check fails, we return without putting
the file pointer.

Fixes: e2a701ae025e ("fs: Add aio iopriority support")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/aio.c