We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a94b521 commit 09cbcecCopy full SHA for 09cbcec
init/do_mounts.h
@@ -13,7 +13,7 @@ void mount_block_root(char *name, int flags);
13
void mount_root(void);
14
extern int root_mountflags;
15
16
-static inline int create_dev(char *name, dev_t dev)
+static inline __init int create_dev(char *name, dev_t dev)
17
{
18
ksys_unlink(name);
19
return ksys_mknod(name, S_IFBLK|0600, new_encode_dev(dev));
0 commit comments