On Tue, Jul 11, 2017 at 2:58 PM, Amir Goldstein <amir73il@xxxxxxxxx> wrote: > When inodes index feature is enabled, if lower dir does not match the > origin fh stored in upper dir, or if no lower dir was found by name, > try to decode the stored origin fh and use the result as the merge dir > lower dentry. > > This change is needed for indexing of merge directories. A merge > directory is indexed by the file handle of the uppermost lower dir and > the index will have a reference to the upper dir by file handle. > Following down from upper by origin file handle ensures the integrity > of the index for non-stale origin entries. index entries with stale origin > are going to be cleaned up on mount anyway. Not sure I understand. In what case is following down by origin needed? Thanks, Miklos -- To unsubscribe from this list: send the line "unsubscribe linux-unionfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html