• Miklos Szeredi's avatar
    ovl: check permission to open real file · 05acefb4
    Miklos Szeredi authored
    Call inode_permission() on real inode before opening regular file on one of
    the underlying layers.
    
    In some cases ovl_permission() already checks access to an underlying file,
    but it misses the metacopy case, and possibly other ones as well.
    
    Removing the redundant permission check from ovl_permission() should be
    considered later.
    Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
    05acefb4
file.c 17.6 KB