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>
This commit is contained in:
parent
eb9d7d390e
commit
812931d693
6 changed files with 38 additions and 14 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue