|
@@ -1010,6 +1010,8 @@ int ecryptfs_getattr(struct vfsmount *mnt, struct dentry *dentry,
|
|
|
rc = vfs_getattr(ecryptfs_dentry_to_lower_mnt(dentry),
|
|
|
ecryptfs_dentry_to_lower(dentry), &lower_stat);
|
|
|
if (!rc) {
|
|
|
+ fsstack_copy_attr_all(dentry->d_inode,
|
|
|
+ ecryptfs_inode_to_lower(dentry->d_inode));
|
|
|
generic_fillattr(dentry->d_inode, stat);
|
|
|
stat->blocks = lower_stat.blocks;
|
|
|
}
|