Skip to content
  • Miklos Szeredi's avatar
    ovl: use cached acl on underlying layer · 5201dc44
    Miklos Szeredi authored
    
    
    Instead of calling ->get_acl() directly, use get_acl() to get the cached
    value.
    
    We will have the acl cached on the underlying inode anyway, because we do
    permission checking on the both the overlay and the underlying fs.
    
    So, since we already have double caching, this improves performance without
    any cost.
    
    Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
    5201dc44