RDMA/ucma: Change backlog into an atomic
authorJason Gunthorpe <jgg@nvidia.com>
Tue, 18 Aug 2020 12:05:23 +0000 (15:05 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 27 Aug 2020 11:38:16 +0000 (08:38 -0300)
commit26c15dec490c3a65f4eba6704c6648c299adb7a6
treeba5c6ab32a6711bbf49afc7c1fb18bee8982c648
parent38e03d092699891c3237b5aee9e8029d4ede0956
RDMA/ucma: Change backlog into an atomic

There is no reason to grab the file->mut just to do this inc/dec work. Use
an atomic.

Link: https://lore.kernel.org/r/20200818120526.702120-12-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/core/ucma.c