diff options
author | Christoph Hellwig | 2020-07-22 11:15:40 +0200 |
---|---|---|
committer | Christoph Hellwig | 2020-07-31 08:17:54 +0200 |
commit | 716308a5331bf907b819f9db8dc942b19568f925 (patch) | |
tree | 9138128e16cab1d49d2006f8340425532c6f9e5d /include/linux/init_syscalls.h | |
parent | 5fee64fcde0770c41e926ff981022eaa512d8980 (diff) |
init: add an init_stat helper
Add a simple helper to stat with a kernel space file name and switch
the early init code over to it.
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 fa1fe7a87779..b2fda50daca6 100644 --- a/include/linux/init_syscalls.h +++ b/include/linux/init_syscalls.h @@ -8,6 +8,7 @@ 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_stat(const char *filename, struct kstat *stat, int flags); int __init init_mknod(const char *filename, umode_t mode, unsigned int dev); int __init init_link(const char *oldname, const char *newname); int __init init_symlink(const char *oldname, const char *newname); |