diff options
Diffstat (limited to 'mm/shmem.c')
-rw-r--r-- | mm/shmem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/shmem.c b/mm/shmem.c index f65f84062db5..3b58ad65d26c 100644 --- a/mm/shmem.c +++ b/mm/shmem.c | |||
@@ -811,7 +811,7 @@ static int shmem_notify_change(struct dentry *dentry, struct iattr *attr) | |||
811 | 811 | ||
812 | error = inode_change_ok(inode, attr); | 812 | error = inode_change_ok(inode, attr); |
813 | if (!error) | 813 | if (!error) |
814 | generic_setattr(inode, attr); | 814 | setattr_copy(inode, attr); |
815 | #ifdef CONFIG_TMPFS_POSIX_ACL | 815 | #ifdef CONFIG_TMPFS_POSIX_ACL |
816 | if (!error && (attr->ia_valid & ATTR_MODE)) | 816 | if (!error && (attr->ia_valid & ATTR_MODE)) |
817 | error = generic_acl_chmod(inode); | 817 | error = generic_acl_chmod(inode); |