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
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?