Skip to content
Commit 92ce4728 authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

aio: remove the extra get_file/fput pair in io_submit_one



If we release the lockdep write protection token before calling into
->write_iter and thus never access the file pointer after an -EIOCBQUEUED
return from ->write_iter or ->read_iter we don't need this extra
reference.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 75321b50
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment