Re: Re: [PATCH v5 01/11] file: Export __receive_fd() to modules

2021-03-25 Thread Yongji Xie
On Thu, Mar 25, 2021 at 4:25 PM Christoph Hellwig wrote: > > On Mon, Mar 15, 2021 at 05:46:43PM +0800, Yongji Xie wrote: > > On Mon, Mar 15, 2021 at 5:08 PM Christoph Hellwig > > wrote: > > > > > > On Mon, Mar 15, 2021 at 01:37:11PM +0800, Xie Yongji wrote: > > > > Export __receive_fd() so that

Re: [PATCH v5 01/11] file: Export __receive_fd() to modules

2021-03-25 Thread Christoph Hellwig
On Mon, Mar 15, 2021 at 05:46:43PM +0800, Yongji Xie wrote: > On Mon, Mar 15, 2021 at 5:08 PM Christoph Hellwig wrote: > > > > On Mon, Mar 15, 2021 at 01:37:11PM +0800, Xie Yongji wrote: > > > Export __receive_fd() so that some modules can use > > > it to pass file descriptor between processes. >

Re: Re: [PATCH v5 01/11] file: Export __receive_fd() to modules

2021-03-15 Thread Yongji Xie
On Mon, Mar 15, 2021 at 10:44 PM Christian Brauner wrote: > > On Mon, Mar 15, 2021 at 05:46:43PM +0800, Yongji Xie wrote: > > On Mon, Mar 15, 2021 at 5:08 PM Christoph Hellwig > > wrote: > > > > > > On Mon, Mar 15, 2021 at 01:37:11PM +0800, Xie Yongji wrote: > > > > Export __receive_fd() so that

Re: [PATCH v5 01/11] file: Export __receive_fd() to modules

2021-03-15 Thread Christian Brauner
On Mon, Mar 15, 2021 at 05:46:43PM +0800, Yongji Xie wrote: > On Mon, Mar 15, 2021 at 5:08 PM Christoph Hellwig wrote: > > > > On Mon, Mar 15, 2021 at 01:37:11PM +0800, Xie Yongji wrote: > > > Export __receive_fd() so that some modules can use > > > it to pass file descriptor between processes. >

Re: Re: [PATCH v5 01/11] file: Export __receive_fd() to modules

2021-03-15 Thread Yongji Xie
On Mon, Mar 15, 2021 at 5:08 PM Christoph Hellwig wrote: > > On Mon, Mar 15, 2021 at 01:37:11PM +0800, Xie Yongji wrote: > > Export __receive_fd() so that some modules can use > > it to pass file descriptor between processes. > > I really don't think any non-core code should do that, especilly not

Re: [PATCH v5 01/11] file: Export __receive_fd() to modules

2021-03-15 Thread Christoph Hellwig
On Mon, Mar 15, 2021 at 01:37:11PM +0800, Xie Yongji wrote: > Export __receive_fd() so that some modules can use > it to pass file descriptor between processes. I really don't think any non-core code should do that, especilly not modular mere driver code.

[PATCH v5 01/11] file: Export __receive_fd() to modules

2021-03-14 Thread Xie Yongji
Export __receive_fd() so that some modules can use it to pass file descriptor between processes. Signed-off-by: Xie Yongji --- fs/file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/file.c b/fs/file.c index dab120b71e44..a2e5bcae63ba 100644 --- a/fs/file.c +++ b/fs/file.c @@ -1107,6 +1