mirror of
https://github.com/torvalds/linux.git
synced 2026-01-25 07:47:50 +00:00
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>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user