aio: fix failure to put the file pointer
authorJens Axboe <axboe@kernel.dk>
Sat, 17 Nov 2018 14:42:17 +0000 (07:42 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 19 Nov 2018 19:07:07 +0000 (12:07 -0700)
commitae52bddd9913fa704824624b3005f1823019ed1a
tree8ef3c81c55b0438ec3d265bf935c92668f340a2a
parent09078bf67baf32968b7c1f9fe4decaae197f605e
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>
fs/aio.c