diff options
author | Christoph Hellwig <hch@lst.de> | 2010-06-04 09:30:00 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-08-09 20:47:35 (GMT) |
commit | 6a1a90ad1b0edb556a7550a6ef8a8756f0304dd5 (patch) | |
tree | 234488533d89e3f8b938823c2071be19e66e1b4b /fs/fat | |
parent | d39aae9ec447dda84d9a2850743a78a535a71c90 (diff) | |
download | linux-fsl-qoriq-6a1a90ad1b0edb556a7550a6ef8a8756f0304dd5.tar.xz |
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/fat')
-rw-r--r-- | fs/fat/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fat/file.c b/fs/fat/file.c index 990dfae..20813d2 100644 --- a/fs/fat/file.c +++ b/fs/fat/file.c @@ -446,7 +446,7 @@ int fat_setattr(struct dentry *dentry, struct iattr *attr) goto out; } - generic_setattr(inode, attr); + setattr_copy(inode, attr); mark_inode_dirty(inode); out: return error; |