Skip to content
Commit 2b6bc7f4 authored by Miklos Szeredi's avatar Miklos Szeredi
Browse files

ovl: lookup: do getxattr with mounter's permission



The getxattr() in ovl_is_opaquedir() was missed when converting all
operations on underlying fs to be done under mounter's permission.

This patch fixes this by moving the ovl_override_creds()/revert_creds() out
from ovl_lookup_real() to ovl_lookup().

Also convert to using vfs_getxattr() instead of directly calling
i_op->getxattr().

Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
parent 8b326c61
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment