diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2020-09-29 18:09:07 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-09-30 20:27:19 +0200 |
commit | a6f0b08dbaf289c3c57284e16ac8043140f2139b (patch) | |
tree | 61df9c16233b079b86b0f80a68910c527dc97daf /include/rdma | |
parent | RDMA/rtrs: Remove unused field of rtrs_iu (diff) | |
download | linux-a6f0b08dbaf289c3c57284e16ac8043140f2139b.tar.xz linux-a6f0b08dbaf289c3c57284e16ac8043140f2139b.zip |
RDMA/core: Remove ucontext->closing
Nothing reads this any more, and the reason for its existence has passed
due to the deferred fput() scheme.
Fixes: 8ea1f989aa07 ("drivers/IB,usnic: reduce scope of mmap_sem")
Link: https://lore.kernel.org/r/0-v1-df64ff042436+42-uctx_closing_jgg@nvidia.com
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'include/rdma')
-rw-r--r-- | include/rdma/ib_verbs.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h index f18502984e6f..5ad997346f7f 100644 --- a/include/rdma/ib_verbs.h +++ b/include/rdma/ib_verbs.h @@ -1477,12 +1477,6 @@ struct ib_rdmacg_object { struct ib_ucontext { struct ib_device *device; struct ib_uverbs_file *ufile; - /* - * 'closing' can be read by the driver only during a destroy callback, - * it is set when we are closing the file descriptor and indicates - * that mm_sem may be locked. - */ - bool closing; bool cleanup_retryable; |