diff options
| author | Alexander Viro <viro@math.psu.edu> | 2002-05-21 21:12:28 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-05-21 21:12:28 -0700 |
| commit | 1d13173b7c576c8ce31c5c30ddd766e27a9d8070 (patch) | |
| tree | 0516a1f4b146ae6e661c700935afb28abb75702e /include/linux | |
| parent | d88146509e60749a2c2f707d3a5ec6ef75c6b6a0 (diff) | |
[PATCH] add proper ->getattr()
add proper ->getattr(), clean up do_getattr() and friends.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/fs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index ab0a05dc8e26..b22e9121c1e9 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -783,7 +783,7 @@ struct inode_operations { int (*permission) (struct inode *, int); int (*revalidate) (struct dentry *); int (*setattr) (struct dentry *, struct iattr *); - int (*getattr) (struct dentry *, struct iattr *); + int (*getattr) (struct vfsmount *mnt, struct dentry *, struct kstat *); int (*setxattr) (struct dentry *, const char *, void *, size_t, int); ssize_t (*getxattr) (struct dentry *, const char *, void *, size_t); ssize_t (*listxattr) (struct dentry *, char *, size_t); @@ -1283,6 +1283,7 @@ extern int vfs_follow_link(struct nameidata *, const char *); extern int page_readlink(struct dentry *, char *, int); extern int page_follow_link(struct dentry *, struct nameidata *); extern struct inode_operations page_symlink_inode_operations; +extern void generic_fillattr(struct inode *, struct kstat *); extern int vfs_readdir(struct file *, filldir_t, void *); |
