mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
Driver-Core: devtmpfs - set root directory mode to 0755
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Cc: Mark Rosenstand <rosenstand@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
ad72956df2
commit
03d673e6af
1 changed files with 1 additions and 1 deletions
|
@ -361,7 +361,7 @@ int __init devtmpfs_init(void)
|
|||
return err;
|
||||
}
|
||||
|
||||
mnt = kern_mount(&dev_fs_type);
|
||||
mnt = kern_mount_data(&dev_fs_type, "mode=0755");
|
||||
if (IS_ERR(mnt)) {
|
||||
err = PTR_ERR(mnt);
|
||||
printk(KERN_ERR "devtmpfs: unable to create devtmpfs %i\n", err);
|
||||
|
|
Loading…
Reference in a new issue