Skip to content
Commit 05acefb4 authored by Miklos Szeredi's avatar Miklos Szeredi
Browse files

ovl: check permission to open real file



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>
parent 292f902a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment