Linus Torvalds writes: (Summary)
> */
> - pts_path = kmalloc(sizeof(struct path), GFP_KERNEL);
> - if (!pts_path)
>
>
> - pts_path->dentry = dentry;
>
>
> + tty->link->driver_data = dentry;
> +struct vfsmount *devpts_mnt(struct file *filp)
> +{
>
>
> +
> + path = filp->f_path;
>
> +
> + err = devpts_ptmx_path(&path);
> + if (err) {
>
> + path.mnt = ERR_PTR(err);
> + }
>
>
↧