Wilhelm Meier:
> O.k., I see the point. But: why does unionfs lookup a whiteout in a read-only 
> branch?

I don't know the reason and I expect the other person will reply.

But your question showed me a good point. If I replace the word
'read-only' into 'lowest branch', yes, the number of looking up
the whiteouted entry can be reduced. Of course it is based upon that
unionfs is working correctly, eg. whiteout never exists on the same
branch of the actual entry.

And currect unionfs lookup code checks the passed filename ('fileB' or
'.wh.fileB') first, by is_validname(), before any actual lookup.


Junjiro Okajima
_______________________________________________
unionfs mailing list
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs

Reply via email to