diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2018-10-02 10:48:02 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-10-06 00:07:39 +0200 |
commit | 2165fc264079ecb7fbfa5e8b330a92eb3f0fcbe1 (patch) | |
tree | 3363cce91e6438d83b44de997486e5ea6dda8a79 /include/rdma | |
parent | RDMA/restrack: Un-inline set task implementation (diff) | |
download | linux-2165fc264079ecb7fbfa5e8b330a92eb3f0fcbe1.tar.xz linux-2165fc264079ecb7fbfa5e8b330a92eb3f0fcbe1.zip |
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 |