diff options
| author | Miklos Szeredi <[email protected]> | 2016-09-16 12:12:11 +0000 |
|---|---|---|
| committer | Miklos Szeredi <[email protected]> | 2016-09-16 12:12:11 +0000 |
| commit | 2b6bc7f48d34a6043915beddbf53b981603737c8 (patch) | |
| tree | ab544e0b8c1c33dba94d79edeb0be310a51499ca /lib/debugobjects.c | |
| parent | ovl: copy_up_xattr(): use strnlen (diff) | |
| download | kernel-2b6bc7f48d34a6043915beddbf53b981603737c8.tar.gz kernel-2b6bc7f48d34a6043915beddbf53b981603737c8.zip | |
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: Miklos Szeredi <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
