commit | 92ce4728563ad1fc42466f9bbecc1ac31d675894 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Fri Apr 06 09:28:17 2018 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Wed May 02 19:56:30 2018 +0200 |
tree | ea7ad875762949ff60965974a18473af3d9c8f52 | |
parent | 75321b50a37a5ba612125a04bfc9e43e3da5b305 [diff] |
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>