projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fs: make helpers idmap mount aware
[linux-block.git]
/
fs
/
overlayfs
/
super.c
diff --git
a/fs/overlayfs/super.c
b/fs/overlayfs/super.c
index 8168ab2dda11fcd2a07d0b1a646d2b98193ef567..c04612b19054526121c5ebd3bea9aced6d03d39f 100644
(file)
--- a/
fs/overlayfs/super.c
+++ b/
fs/overlayfs/super.c
@@
-1023,7
+1023,7
@@
ovl_posix_acl_xattr_set(const struct xattr_handler *handler,
!capable_wrt_inode_uidgid(&init_user_ns, inode, CAP_FSETID)) {
struct iattr iattr = { .ia_valid = ATTR_KILL_SGID };
- err = ovl_setattr(dentry, &iattr);
+ err = ovl_setattr(
&init_user_ns,
dentry, &iattr);
if (err)
return err;
}