• Amir Goldstein's avatar
    ovl: set the ORIGIN type flag · 59548503
    Amir Goldstein authored
    For directory entries, non zero oe->numlower implies OVL_TYPE_MERGE.
    Define a new type flag OVL_TYPE_ORIGIN to indicate that an entry holds a
    reference to its lower copy up origin.
    
    For directory entries ORIGIN := MERGE && UPPER. For non-dir entries ORIGIN
    means that a lower type dentry has been recently copied up or that we were
    able to find the copy up origin from overlay.origin xattr.
    Signed-off-by: default avatarAmir Goldstein <amir73il@gmail.com>
    Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
    59548503
overlayfs.h 9.1 KB