diff options
author | Christoph Hellwig <hch@lst.de> | 2020-07-22 11:14:59 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-07-31 08:17:53 +0200 |
commit | 83ff98c3e9cd2b82b4289e185f2ce7d635a9cbd3 (patch) | |
tree | c45bf0dfc39594f8787be068175f50a9d124cc9e /init/initramfs.c | |
parent | cd3acb6a79349f346714ab3d26d203a0c6ca5ab0 (diff) | |
download | linux-stable-83ff98c3e9cd2b82b4289e185f2ce7d635a9cbd3.tar.gz linux-stable-83ff98c3e9cd2b82b4289e185f2ce7d635a9cbd3.tar.bz2 linux-stable-83ff98c3e9cd2b82b4289e185f2ce7d635a9cbd3.zip |
init: add an init_mkdir helper
Add a simple helper to mkdir with a kernel space file name and switch
the early init code over to it. Remove the now unused ksys_mkdir.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'init/initramfs.c')
-rw-r--r-- | init/initramfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/initramfs.c b/init/initramfs.c index c91fc9a51d2a..0489eb65b3b8 100644 --- a/init/initramfs.c +++ b/init/initramfs.c @@ -348,7 +348,7 @@ static int __init do_name(void) state = CopyFile; } } else if (S_ISDIR(mode)) { - ksys_mkdir(collected, mode); + init_mkdir(collected, mode); init_chown(collected, uid, gid, 0); init_chmod(collected, mode); dir_add(collected, mtime); |