summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChristoph Hellwig2010-06-04 11:30:00 +0200
committerAl Viro2010-08-09 22:47:35 +0200
commit6a1a90ad1b0edb556a7550a6ef8a8756f0304dd5 (patch)
tree234488533d89e3f8b938823c2071be19e66e1b4b /include
parentadd missing setattr methods (diff)
downloadkernel-qcow2-linux-6a1a90ad1b0edb556a7550a6ef8a8756f0304dd5.tar.gz
kernel-qcow2-linux-6a1a90ad1b0edb556a7550a6ef8a8756f0304dd5.tar.xz
kernel-qcow2-linux-6a1a90ad1b0edb556a7550a6ef8a8756f0304dd5.zip
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 'include')
-rw-r--r--include/linux/fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index b347b2d5666f..8ebb5f01a418 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -2393,7 +2393,7 @@ extern int buffer_migrate_page(struct address_space *,
extern int inode_change_ok(const struct inode *, struct iattr *);
extern int inode_newsize_ok(const struct inode *, loff_t offset);
extern int __must_check inode_setattr(struct inode *, const struct iattr *);
-extern void generic_setattr(struct inode *inode, const struct iattr *attr);
+extern void setattr_copy(struct inode *inode, const struct iattr *attr);
extern void file_update_time(struct file *file);