diff options
author | Christoph Hellwig <hch@lst.de> | 2020-07-21 17:05:31 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-07-31 09:17:54 +0300 |
commit | 235e57935bf328c4cce371ffc4dd1d8fab4885cd (patch) | |
tree | ab0b81c6689fe72425b5c560e9b9b74a40b37265 /include/linux/init_syscalls.h | |
parent | 716308a5331bf907b819f9db8dc942b19568f925 (diff) | |
download | linux-235e57935bf328c4cce371ffc4dd1d8fab4885cd.tar.xz |
init: add an init_utimes helper
Add a simple helper to set timestamps 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 b2fda50daca6..3654b525ac0b 100644 --- a/include/linux/init_syscalls.h +++ b/include/linux/init_syscalls.h @@ -15,3 +15,4 @@ int __init init_symlink(const char *oldname, const char *newname); int __init init_unlink(const char *pathname); int __init init_mkdir(const char *pathname, umode_t mode); int __init init_rmdir(const char *pathname); +int __init init_utimes(char *filename, struct timespec64 *ts); |