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

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

Fixes: d9a08a9e616b ("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