Quantcast
Channel: lkml.org : Ganesh Sittampalam
Viewing all articles
Browse latest Browse all 627

Re: [PATCH 0/3 v2] devpts: handle /dev/ptmx bind-mounts

$
0
0
Linus Torvalds writes: (Summary) That said, NFS already has that exact same loop for follow_to_parent(), just syntactically slightly different version.
slightly different version.
In fact, I wonder if we even need to do that
In fact, I wonder if we even need to do that
        if ((DEVPTS_SB(path.mnt->mnt_sb) == fsi) &&

Because if the ptmx dentry is *not* a bind mount, then the loop will
be a no-op, and if it *is* a bind-mount, then I'm not convinced we
should even try to just limit it to the devpts case - maybe somebody
did a bind-mount on just a legacy ptmx device node?

Viewing all articles
Browse latest Browse all 627

Trending Articles