[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <a1332a6b-8fff-3a28-e5be-82a434edbe18@suse.de>
Date: Sat, 9 Feb 2019 10:49:05 +0100
From: Hannes Reinecke <hare@...e.de>
To: Jens Axboe <axboe@...nel.dk>, linux-aio@...ck.org,
linux-block@...r.kernel.org, linux-api@...r.kernel.org
Cc: hch@....de, jmoyer@...hat.com, avi@...lladb.com, jannh@...gle.com,
viro@...IV.linux.org.uk, netdev@...r.kernel.org,
"David S . Miller" <davem@...emloft.net>
Subject: Re: [PATCH 13/19] net: split out functions related to registering
inflight socket files
On 2/8/19 6:34 PM, Jens Axboe wrote:
> We need this functionality for the io_uring file registration, but
> we cannot rely on it since CONFIG_UNIX can be modular. Move the helpers
> to a separate file, that's always builtin to the kernel if CONFIG_UNIX is
> m/y.
>
> No functional changes in this patch, just moving code around.
>
> Cc: netdev@...r.kernel.org
> Cc: David S. Miller <davem@...emloft.net>
> Signed-off-by: Jens Axboe <axboe@...nel.dk>
> ---
> include/net/af_unix.h | 1 +
> net/unix/Kconfig | 5 ++
> net/unix/Makefile | 2 +
> net/unix/af_unix.c | 63 +-----------------
> net/unix/garbage.c | 71 +-------------------
> net/unix/scm.c | 146 ++++++++++++++++++++++++++++++++++++++++++
> net/unix/scm.h | 10 +++
> 7 files changed, 168 insertions(+), 130 deletions(-)
> create mode 100644 net/unix/scm.c
> create mode 100644 net/unix/scm.h
>
Reviewed-by: Hannes Reinecke <hare@...e.com>
Cheers,
Hannes
Powered by blists - more mailing lists