Commit f0ea68f1 authored by Christoph Hellwig's avatar Christoph Hellwig

initrd: mark init_linuxrc as __init

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent bef17329
...@@ -56,7 +56,7 @@ static int __init early_initrd(char *p) ...@@ -56,7 +56,7 @@ static int __init early_initrd(char *p)
} }
early_param("initrd", early_initrd); early_param("initrd", early_initrd);
static int init_linuxrc(struct subprocess_info *info, struct cred *new) static int __init init_linuxrc(struct subprocess_info *info, struct cred *new)
{ {
ksys_unshare(CLONE_FS | CLONE_FILES); ksys_unshare(CLONE_FS | CLONE_FILES);
console_on_rootfs(); console_on_rootfs();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment