projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
acl: handle idmapped mounts
[linux-block.git]
/
fs
/
gfs2
/
acl.c
diff --git
a/fs/gfs2/acl.c
b/fs/gfs2/acl.c
index 2e939f5fe751cde6fda5515948af6c3a4983145e..ce88ef29eef079c3ebac4bc15b94b96704de4a39 100644
(file)
--- a/
fs/gfs2/acl.c
+++ b/
fs/gfs2/acl.c
@@
-130,7
+130,7
@@
int gfs2_set_acl(struct inode *inode, struct posix_acl *acl, int type)
mode = inode->i_mode;
if (type == ACL_TYPE_ACCESS && acl) {
- ret = posix_acl_update_mode(inode, &mode, &acl);
+ ret = posix_acl_update_mode(
&init_user_ns,
inode, &mode, &acl);
if (ret)
goto unlock;
}