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
/
super.c
diff --git
a/fs/overlayfs/super.c
b/fs/overlayfs/super.c
index 3e925deaa19a78058e97becd0f198fd33a692556..39b2e9aa0e5ba3e953bcc27bdab39aea306007ca 100644
(file)
--- a/
fs/overlayfs/super.c
+++ b/
fs/overlayfs/super.c
@@
-804,7
+804,7
@@
retry:
/* Clear any inherited mode bits */
inode_lock(work->d_inode);
- err = notify_change(work, &attr, NULL);
+ err = notify_change(
&init_user_ns,
work, &attr, NULL);
inode_unlock(work->d_inode);
if (err)
goto out_dput;