diff options
author | Christian Brauner <brauner@kernel.org> | 2023-10-10 10:23:26 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-10-19 11:02:49 +0200 |
commit | 50d910d27362d6809a0668f0f1cb5220bc7dc6a0 (patch) | |
tree | 5cfb2cdad606b7ad750591b0c1825f330dc8f8d6 /mm | |
parent | 0ede61d8589cc2d93aa78230d74ac58b5b8d0244 (diff) |
io_uring: use files_lookup_fd_locked()
While valid we don't need to open-code rcu dereferences if we're
acquiring file_lock anyway.
Suggested-by: Al Viro <viro@zeniv.linux.org.uk>
Link: https://lore.kernel.org/r/20231010030615.GO800259@ZenIV
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions