diff options
author | Christoph Hellwig <hch@lst.de> | 2018-04-06 10:28:17 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-05-02 20:56:30 +0300 |
commit | 92ce4728563ad1fc42466f9bbecc1ac31d675894 (patch) | |
tree | ea7ad875762949ff60965974a18473af3d9c8f52 /tools | |
parent | 75321b50a37a5ba612125a04bfc9e43e3da5b305 (diff) | |
download | linux-92ce4728563ad1fc42466f9bbecc1ac31d675894.tar.xz |
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>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions