diff options
author | Christoph Hellwig <hch@lst.de> | 2020-07-22 12:14:19 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-07-31 09:17:53 +0300 |
commit | 812931d693da58cc24d2bb8dec01c2b4a7f4668f (patch) | |
tree | 2e95f34172c407d94ca5a097eae30852c01551cc /include/linux/init_syscalls.h | |
parent | eb9d7d390e51108b4c6a9a7993ed9be92548c8f7 (diff) | |
download | linux-812931d693da58cc24d2bb8dec01c2b4a7f4668f.tar.xz |
init: add an init_link helper
Add a simple helper to link with a kernel space file name and switch
the early init code over to it. Remove the now unused ksys_link.
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 7031c0934bee..5ca15a5b55b7 100644 --- a/include/linux/init_syscalls.h +++ b/include/linux/init_syscalls.h @@ -8,5 +8,6 @@ int __init init_chroot(const char *filename); int __init init_chown(const char *filename, uid_t user, gid_t group, int flags); int __init init_chmod(const char *filename, umode_t mode); int __init init_eaccess(const char *filename); +int __init init_link(const char *oldname, const char *newname); int __init init_unlink(const char *pathname); int __init init_rmdir(const char *pathname); |