Re: [some sanity for a change] possible design issues for hybrids

Linus Torvalds
2004-08-27T04:46:00Z

On Thu, 26 Aug 2004, Linus Torvalds wrote:
>
> > if (vfsmount is marked as hybrid && dentry == vfsmount->mnt_dentry)
> > return;
>
> Hmm.. Here we shouldn't have a vfsmount. If we have one, that means that
> we found it in the hashes, and we should just have returned it
> immediately (whether hybrid or not doesn't matter at that point).

Ahh, I misunderstood you.

You mean that if the _old_ vfsmount was already a hybrid one, we won't try
to recurse if we didn't find any other, so we return NULL at that point.

Got it. Yes, I bow before your cunningness.

Linus