init: add an init_mknod helper
Add a simple helper to mknod with a kernel space file name and switch the early init code over to it. Remove the now unused ksys_mknod. Signed-off-by: Christoph Hellwig <hch@lst.de>
Este cometimento está contido em:
@@ -17,7 +17,7 @@ extern int root_mountflags;
|
||||
static inline __init int create_dev(char *name, dev_t dev)
|
||||
{
|
||||
init_unlink(name);
|
||||
return ksys_mknod(name, S_IFBLK|0600, new_encode_dev(dev));
|
||||
return init_mknod(name, S_IFBLK | 0600, new_encode_dev(dev));
|
||||
}
|
||||
|
||||
#ifdef CONFIG_BLK_DEV_RAM
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador