Re: [PATCH v2 24/36] fs: add ksys_unlink() wrapper; remove in-kernel calls to sys_unlink()

2018-03-17 Thread Dominik Brodowski
On Thu, Mar 15, 2018 at 09:21:39PM +0100, Arnd Bergmann wrote: > On Thu, Mar 15, 2018 at 8:05 PM, Dominik Brodowski > wrote: > > Using this wrapper allows us to avoid the in-kernel calls to the > > sys_unlink() syscall. > > > > Cc: Al Viro > > Cc: Andrew Morton > > Signed-off-by: Dominik Brodows

Re: [PATCH v2 24/36] fs: add ksys_unlink() wrapper; remove in-kernel calls to sys_unlink()

2018-03-15 Thread Arnd Bergmann
On Thu, Mar 15, 2018 at 8:05 PM, Dominik Brodowski wrote: > Using this wrapper allows us to avoid the in-kernel calls to the > sys_unlink() syscall. > > Cc: Al Viro > Cc: Andrew Morton > Signed-off-by: Dominik Brodowski > --- > include/linux/syscalls.h | 11 +++ > init/do_mounts.h

[PATCH v2 24/36] fs: add ksys_unlink() wrapper; remove in-kernel calls to sys_unlink()

2018-03-15 Thread Dominik Brodowski
Using this wrapper allows us to avoid the in-kernel calls to the sys_unlink() syscall. Cc: Al Viro Cc: Andrew Morton Signed-off-by: Dominik Brodowski --- include/linux/syscalls.h | 11 +++ init/do_mounts.h | 2 +- init/do_mounts_initrd.c | 4 ++-- init/do_mounts_rd.c |