diff options
| author | Alexander Viro <viro@math.psu.edu> | 2002-06-11 00:55:38 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-06-11 00:55:38 -0700 |
| commit | 92ca434dc41a32983059730d3682567fd9b034c4 (patch) | |
| tree | 6e25d929a02a0188ed5d7fe60c22bb2b20818cda /include/linux | |
| parent | 6343913a0b82c9648b0b422af66c6e16b0c29ddf (diff) | |
[PATCH] (6/14) resync
do_getattr() renamed to vfs_getattr(), exported and used by
loop.c and nfsd - both blindly accessed ->i_dev/->i_ino of
random inodes when they ought to be calling ->getattr() to
get that information.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 1ff532ef3ad4..271dc4972582 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -1246,6 +1246,7 @@ extern int page_follow_link(struct dentry *, struct nameidata *); extern int page_symlink(struct inode *inode, const char *symname, int len); extern struct inode_operations page_symlink_inode_operations; extern void generic_fillattr(struct inode *, struct kstat *); +extern int vfs_getattr(struct vfsmount *, struct dentry *, struct kstat *); extern int vfs_readdir(struct file *, filldir_t, void *); |
