mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
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: Christoph Hellwig <hch@lst.de>
This commit is contained in:
parent
75321b50a3
commit
92ce472856
1 changed files with 16 additions and 9 deletions
25
fs/aio.c
25
fs/aio.c
Loading…
Add table
Add a link
Reference in a new issue