projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
attr: handle idmapped mounts
[linux-block.git]
/
fs
/
overlayfs
/
dir.c
diff --git
a/fs/overlayfs/dir.c
b/fs/overlayfs/dir.c
index 98a23353b19adf0f33ac1ebd0b169f170fa5395c..29840820a46c670dcf4df4ba1825686a7c826abb 100644
(file)
--- a/
fs/overlayfs/dir.c
+++ b/
fs/overlayfs/dir.c
@@
-508,7
+508,7
@@
static int ovl_create_over_whiteout(struct dentry *dentry, struct inode *inode,
.ia_mode = cattr->mode,
};
inode_lock(newdentry->d_inode);
- err = notify_change(newdentry, &attr, NULL);
+ err = notify_change(
&init_user_ns,
newdentry, &attr, NULL);
inode_unlock(newdentry->d_inode);
if (err)
goto out_cleanup;