initrd: mark init_linuxrc as __init
Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
bef1732996
commit
f0ea68f139
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user