diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2018-10-02 11:48:02 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-10-06 01:07:39 +0300 |
commit | 2165fc264079ecb7fbfa5e8b330a92eb3f0fcbe1 (patch) | |
tree | 3363cce91e6438d83b44de997486e5ea6dda8a79 /include/rdma | |
parent | 363ad35577de3a73cf97006ec5f00fccaee73172 (diff) | |
download | linux-2165fc264079ecb7fbfa5e8b330a92eb3f0fcbe1.tar.xz |
RDMA/restrack: Consolidate task name updates in one place
Unify task update and kernel name set in one place.
Reviewed-by: Artemy Kovalyov <artemyko@mellanox.com>
Reviewed-by: Yossi Itigin <yosefe@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/rdma')
-rw-r--r-- | include/rdma/restrack.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/rdma/restrack.h b/include/rdma/restrack.h index 0bddbbdbaf7c..2638fa7cd702 100644 --- a/include/rdma/restrack.h +++ b/include/rdma/restrack.h @@ -173,10 +173,10 @@ int rdma_restrack_put(struct rdma_restrack_entry *res); /** * rdma_restrack_set_task() - set the task for this resource * @res: resource entry - * @task: task struct + * @caller: kernel name, the current task will be used if the caller is NULL. */ void rdma_restrack_set_task(struct rdma_restrack_entry *res, - struct task_struct *task); + const char *caller); /* * Helper functions for rdma drivers when filling out |