[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YH5tQi+JXOm8LW9V@unreal>
Date: Tue, 20 Apr 2021 08:57:22 +0300
From: Leon Romanovsky <leon@...nel.org>
To: Andrea Claudi <aclaudi@...hat.com>
Cc: netdev@...r.kernel.org, stephen@...workplumber.org,
dsahern@...il.com
Subject: Re: [PATCH iproute2] lib: move get_task_name() from rdma
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 <aclaudi@...hat.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 <leonro@...dia.com>
Powered by blists - more mailing lists