diff options
author | Christoph Hellwig <hch@lst.de> | 2020-07-23 09:23:40 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-07-31 09:17:52 +0300 |
commit | 8fb9f73e5a539ab3aa4785f30fb52c65fa98600c (patch) | |
tree | 81f6cb5c68284eb39e7798602e5dc329933ad768 /include/linux/init_syscalls.h | |
parent | 09267defa36aaff6ff829bd2fc8b043ec151cc3e (diff) | |
download | linux-8fb9f73e5a539ab3aa4785f30fb52c65fa98600c.tar.xz |
init: add an init_unlink helper
Add a simple helper to unlink with a kernel space file name and switch
the early init code over to it. Remove the now unused ksys_unlink.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include/linux/init_syscalls.h')
-rw-r--r-- | include/linux/init_syscalls.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/init_syscalls.h b/include/linux/init_syscalls.h index a5a2e7f19916..00d597249549 100644 --- a/include/linux/init_syscalls.h +++ b/include/linux/init_syscalls.h @@ -3,3 +3,4 @@ int __init init_mount(const char *dev_name, const char *dir_name, const char *type_page, unsigned long flags, void *data_page); int __init init_umount(const char *name, int flags); +int __init init_unlink(const char *pathname); |