mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
RDMA/uverbs: Move uncontext check before SRCU read lock
There is no need to take SRCU lock before checking file->ucontext, so move it do it before it. Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
parent
eb455e329b
commit
491d5c6a30
1 changed files with 4 additions and 11 deletions
Loading…
Add table
Add a link
Reference in a new issue