projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ovl: Copy up underlying inode's ->i_mode to overlay inode
[firefly-linux-kernel-4.4.55.git]
/
fs
/
overlayfs
/
overlayfs.h
diff --git
a/fs/overlayfs/overlayfs.h
b/fs/overlayfs/overlayfs.h
index e17154aeaae4761ca8ec466b96afe913cd40c322..735e1d49b30116ad049e011f8b9fb1d6e4649710 100644
(file)
--- a/
fs/overlayfs/overlayfs.h
+++ b/
fs/overlayfs/overlayfs.h
@@
-181,6
+181,7
@@
static inline void ovl_copyattr(struct inode *from, struct inode *to)
{
to->i_uid = from->i_uid;
to->i_gid = from->i_gid;
+ to->i_mode = from->i_mode;
}
/* dir.c */