summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAlexander Viro <viro@math.psu.edu>2002-06-11 00:55:38 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-06-11 00:55:38 -0700
commit92ca434dc41a32983059730d3682567fd9b034c4 (patch)
tree6e25d929a02a0188ed5d7fe60c22bb2b20818cda /include/linux
parent6343913a0b82c9648b0b422af66c6e16b0c29ddf (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.h1
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 *);