diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2018-09-03 19:18:03 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-09-05 23:59:06 +0200 |
commit | 6ceb6331b3291694fb6ceba625219f51447c3fa2 (patch) | |
tree | 41854f0c838fcb1b6787a8e6d0b6ea7cc9a3ee11 /include/rdma | |
parent | RDMA/nes: Delete impossible debug prints (diff) | |
download | linux-6ceb6331b3291694fb6ceba625219f51447c3fa2.tar.xz linux-6ceb6331b3291694fb6ceba625219f51447c3fa2.zip |
RDMA/uverbs: Declare closing variable as boolean
The "closing" variable is used as boolean and set to "true" in one
place, update the declaration of that variable and their other
assignment to proper type.
Fixes: e951747a087a ("IB/uverbs: Rework the locking for cleaning up the ucontext")
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/rdma')
-rw-r--r-- | include/rdma/ib_verbs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h index df8d234a2b56..a4c3a09a91bc 100644 --- a/include/rdma/ib_verbs.h +++ b/include/rdma/ib_verbs.h @@ -1486,7 +1486,7 @@ struct ib_ucontext { * it is set when we are closing the file descriptor and indicates * that mm_sem may be locked. */ - int closing; + bool closing; bool cleanup_retryable; |