diff options
author | Christoph Hellwig <hch@lst.de> | 2010-06-04 05:30:00 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-08-09 16:47:35 -0400 |
commit | 6a1a90ad1b0edb556a7550a6ef8a8756f0304dd5 (patch) | |
tree | 234488533d89e3f8b938823c2071be19e66e1b4b /fs/ext2 | |
parent | d39aae9ec447dda84d9a2850743a78a535a71c90 (diff) |
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 <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ext2')
-rw-r--r-- | fs/ext2/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext2/inode.c b/fs/ext2/inode.c index 74dfe5f73330..7dee7b3f3688 100644 --- a/fs/ext2/inode.c +++ b/fs/ext2/inode.c | |||
@@ -1544,7 +1544,7 @@ int ext2_setattr(struct dentry *dentry, struct iattr *iattr) | |||
1544 | if (error) | 1544 | if (error) |
1545 | return error; | 1545 | return error; |
1546 | } | 1546 | } |
1547 | generic_setattr(inode, iattr); | 1547 | setattr_copy(inode, iattr); |
1548 | if (iattr->ia_valid & ATTR_MODE) | 1548 | if (iattr->ia_valid & ATTR_MODE) |
1549 | error = ext2_acl_chmod(inode); | 1549 | error = ext2_acl_chmod(inode); |
1550 | mark_inode_dirty(inode); | 1550 | mark_inode_dirty(inode); |