diff options
author | J. Bruce Fields <bfields@redhat.com> | 2013-10-02 17:01:18 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-11-09 00:16:31 -0500 |
commit | b7a6ec52dd4eced4a9bcda9ca85b3c8af84d3c90 (patch) | |
tree | 65f94ff93032bbf7ada265b89c5554cd94522366 /include/linux/fs.h | |
parent | 5a3cd99285dc793a4022fa75ceeb323eb6d29ac9 (diff) | |
download | lwn-b7a6ec52dd4eced4a9bcda9ca85b3c8af84d3c90.tar.gz lwn-b7a6ec52dd4eced4a9bcda9ca85b3c8af84d3c90.zip |
vfs: split out vfs_getattr_nosec
The filehandle lookup code wants this version of getattr.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/fs.h')
-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 e190326ac212..5e44b0893db8 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -2504,6 +2504,7 @@ extern const struct inode_operations page_symlink_inode_operations; extern void kfree_put_link(struct dentry *, struct nameidata *, void *); extern int generic_readlink(struct dentry *, char __user *, int); extern void generic_fillattr(struct inode *, struct kstat *); +int vfs_getattr_nosec(struct path *path, struct kstat *stat); extern int vfs_getattr(struct path *, struct kstat *); void __inode_add_bytes(struct inode *inode, loff_t bytes); void inode_add_bytes(struct inode *inode, loff_t bytes); |