mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
rename generic_setattr
Despite its name it's now a generic implementation of ->setattr, but rather a helper to copy attributes from a struct iattr to the inode. Rename it to setattr_copy to reflect this fact. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
d39aae9ec4
commit
6a1a90ad1b
8 changed files with 14 additions and 15 deletions
|
|
@ -811,7 +811,7 @@ static int shmem_notify_change(struct dentry *dentry, struct iattr *attr)
|
|||
|
||||
error = inode_change_ok(inode, attr);
|
||||
if (!error)
|
||||
generic_setattr(inode, attr);
|
||||
setattr_copy(inode, attr);
|
||||
#ifdef CONFIG_TMPFS_POSIX_ACL
|
||||
if (!error && (attr->ia_valid & ATTR_MODE))
|
||||
error = generic_acl_chmod(inode);
|
||||
|
|
|
|||
Loading…
Reference in a new issue