On Mon, Apr 19, 2021 at 03:34:58PM +0200, Andrea Claudi wrote:
> The function get_task_name() is used to get the name of a process from
> its pid, and its implementation is similar to ip/iptuntap.c:pid_name().
> 
> Move it to lib/fs.c to use a single implementation and make it easily
> reusable.
> 
> Signed-off-by: Andrea Claudi <acla...@redhat.com>
> ---
>  include/utils.h |  1 +
>  ip/iptuntap.c   | 31 +------------------------------
>  lib/fs.c        | 24 ++++++++++++++++++++++++
>  rdma/res.c      | 24 ------------------------
>  rdma/res.h      |  1 -
>  5 files changed, 26 insertions(+), 55 deletions(-)
> 

Thanks,
Acked-by: Leon Romanovsky <leo...@nvidia.com>

Reply via email to