aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/syscalls.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-07-23 08:23:08 +0200
committerChristoph Hellwig <hch@lst.de>2020-07-31 08:17:51 +0200
commit09267defa36aaff6ff829bd2fc8b043ec151cc3e (patch)
tree112707b95369bc1db23f2b60c2f286135d7b69fe /include/linux/syscalls.h
parentinit: add an init_mount helper (diff)
downloadlinux-dev-09267defa36aaff6ff829bd2fc8b043ec151cc3e.tar.xz
linux-dev-09267defa36aaff6ff829bd2fc8b043ec151cc3e.zip
init: add an init_umount helper
Like ksys_umount, but takes a kernel pointer for the destination path. Switch over the umount in the init code, which just happen to work due to the implicit set_fs(KERNEL_DS) during early init right now. Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include/linux/syscalls.h')
-rw-r--r--include/linux/syscalls.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h
index e43816198e60..1a4f5d8ee704 100644
--- a/include/linux/syscalls.h
+++ b/include/linux/syscalls.h
@@ -1236,7 +1236,6 @@ asmlinkage long sys_ni_syscall(void);
* the ksys_xyzyyz() functions prototyped below.
*/
-int ksys_umount(char __user *name, int flags);
int ksys_chroot(const char __user *filename);
ssize_t ksys_write(unsigned int fd, const char __user *buf, size_t count);
int ksys_chdir(const char __user *filename);