]> 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)
commit2396cfb542f67144159c92b0310217c50362788a
treee5ffef375a649e60652f82da033e808663c66bf1
parent2d3c5de28f680907c2b3654c801e7fdccc9ab9a1
aio: fix failure to put the file pointer

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

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