Re: add file system helpers that take kernel pointers for the init code v4

2020-08-03 Thread Christoph Hellwig
On Mon, Aug 03, 2020 at 10:56:23AM -0400, Qian Cai wrote: > On Tue, Jul 28, 2020 at 06:33:53PM +0200, Christoph Hellwig wrote: > > Hi Al and Linus, > > > > currently a lot of the file system calls in the early in code (and the > > devtmpfs kthread) rely on the implicit set_fs(KERNEL_DS) during

Re: add file system helpers that take kernel pointers for the init code v4

2020-08-03 Thread Qian Cai
On Tue, Jul 28, 2020 at 06:33:53PM +0200, Christoph Hellwig wrote: > Hi Al and Linus, > > currently a lot of the file system calls in the early in code (and the > devtmpfs kthread) rely on the implicit set_fs(KERNEL_DS) during boot. > This is one of the few last remaining places we need to deal

Re: add file system helpers that take kernel pointers for the init code v4

2020-07-31 Thread Christoph Hellwig
On Fri, Jul 31, 2020 at 03:14:24AM +0100, Al Viro wrote: > Christoph Hellwig (28): > [snip] > initramfs: switch initramfs unpacking to struct file based APIs > initramfs: switch initramfs unpacking to struct file based APIs > [snip] > > It's not a bisect hazard, of course, but if you

Re: add file system helpers that take kernel pointers for the init code v4

2020-07-30 Thread Al Viro
On Thu, Jul 30, 2020 at 08:25:24AM +0200, Christoph Hellwig wrote: > On Wed, Jul 29, 2020 at 08:51:17PM +0100, Al Viro wrote: > > On Tue, Jul 28, 2020 at 06:33:53PM +0200, Christoph Hellwig wrote: > > > Hi Al and Linus, > > > > > > currently a lot of the file system calls in the early in code

Re: add file system helpers that take kernel pointers for the init code v4

2020-07-30 Thread Christoph Hellwig
On Wed, Jul 29, 2020 at 08:51:17PM +0100, Al Viro wrote: > On Tue, Jul 28, 2020 at 06:33:53PM +0200, Christoph Hellwig wrote: > > Hi Al and Linus, > > > > currently a lot of the file system calls in the early in code (and the > > devtmpfs kthread) rely on the implicit set_fs(KERNEL_DS) during

Re: add file system helpers that take kernel pointers for the init code v4

2020-07-29 Thread Al Viro
On Tue, Jul 28, 2020 at 06:33:53PM +0200, Christoph Hellwig wrote: > Hi Al and Linus, > > currently a lot of the file system calls in the early in code (and the > devtmpfs kthread) rely on the implicit set_fs(KERNEL_DS) during boot. > This is one of the few last remaining places we need to deal

add file system helpers that take kernel pointers for the init code v4

2020-07-28 Thread Christoph Hellwig
Hi Al and Linus, currently a lot of the file system calls in the early in code (and the devtmpfs kthread) rely on the implicit set_fs(KERNEL_DS) during boot. This is one of the few last remaining places we need to deal with to kill off set_fs entirely, so this series adds new helpers that take