Set de_dir for user created symbolic links. This will be needed to be
able to resolve their parent directories.
This commit is contained in:
parent
3a1d56f9a4
commit
4136388a18
@ -1539,6 +1539,7 @@ devfs_symlink(struct vop_symlink_args *ap)
|
||||
de->de_gid = 0;
|
||||
de->de_mode = 0755;
|
||||
de->de_inode = alloc_unr(devfs_inos);
|
||||
de->de_dir = dd;
|
||||
de->de_dirent->d_type = DT_LNK;
|
||||
i = strlen(ap->a_target) + 1;
|
||||
de->de_symlink = malloc(i, M_DEVFS, M_WAITOK);
|
||||
|
Loading…
Reference in New Issue
Block a user