diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2018-09-16 20:44:46 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-09-20 16:19:30 -0400 |
commit | ece8ea7bfac053cf27c24e1a767b796a4db2fbd7 (patch) | |
tree | 52594699f69ba474dac6f2f47b1919c6c36c9e83 /drivers/infiniband/hw/usnic/usnic_uiom.h | |
parent | RDMA/umem: Do not use current->tgid to track the mm_struct (diff) | |
download | linux-dev-ece8ea7bfac053cf27c24e1a767b796a4db2fbd7.tar.xz linux-dev-ece8ea7bfac053cf27c24e1a767b796a4db2fbd7.zip |
RDMA/usnic: Do not use ucontext->tgid
Update this driver to match the code it copies from umem.c which no longer
uses tgid.
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/infiniband/hw/usnic/usnic_uiom.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/usnic/usnic_uiom.h b/drivers/infiniband/hw/usnic/usnic_uiom.h index 8c096acff123..b86a9731071b 100644 --- a/drivers/infiniband/hw/usnic/usnic_uiom.h +++ b/drivers/infiniband/hw/usnic/usnic_uiom.h @@ -71,8 +71,7 @@ struct usnic_uiom_reg { int writable; struct list_head chunk_list; struct work_struct work; - struct mm_struct *mm; - unsigned long diff; + struct mm_struct *owning_mm; }; struct usnic_uiom_chunk { |