• Amir Goldstein's avatar
    ovl: store persistent uuid/fsid with uuid=on · d9544c1b
    Amir Goldstein authored
    With uuid=on, store a persistent uuid in xattr on the upper dir to
    give the overlayfs instance a persistent identifier.
    
    This also makes f_fsid persistent and more reliable for reporting
    fid info in fanotify events.
    
    uuid=on is not supported on non-upper overlayfs or with upper fs
    that does not support xattrs.
    Signed-off-by: default avatarAmir Goldstein <amir73il@gmail.com>
    d9544c1b
overlayfs.h 27.4 KB