Quantcast
Channel: lkml.org : Shesha Sreenivasamurthy
Viewing all articles
Browse latest Browse all 1267

Re: [PATCH 0/1] devpts: use dynamic_dname() to generate proc name

$
0
0
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); > + } > >

Viewing all articles
Browse latest Browse all 1267

Trending Articles