aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r--include/linux/fs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 56e01fb7ecda..1cc2518f008c 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -35,6 +35,7 @@ struct files_stat_struct {
35 int max_files; /* tunable */ 35 int max_files; /* tunable */
36}; 36};
37extern struct files_stat_struct files_stat; 37extern struct files_stat_struct files_stat;
38extern int get_max_files(void);
38 39
39struct inodes_stat_t { 40struct inodes_stat_t {
40 int nr_inodes; 41 int nr_inodes;
@@ -1421,9 +1422,6 @@ extern int is_bad_inode(struct inode *);
1421extern struct file_operations read_fifo_fops; 1422extern struct file_operations read_fifo_fops;
1422extern struct file_operations write_fifo_fops; 1423extern struct file_operations write_fifo_fops;
1423extern struct file_operations rdwr_fifo_fops; 1424extern struct file_operations rdwr_fifo_fops;
1424extern struct file_operations read_pipe_fops;
1425extern struct file_operations write_pipe_fops;
1426extern struct file_operations rdwr_pipe_fops;
1427 1425
1428extern int fs_may_remount_ro(struct super_block *); 1426extern int fs_may_remount_ro(struct super_block *);
1429 1427
@@ -1669,6 +1667,8 @@ extern int vfs_follow_link(struct nameidata *, const char *);
1669extern int page_readlink(struct dentry *, char __user *, int); 1667extern int page_readlink(struct dentry *, char __user *, int);
1670extern void *page_follow_link_light(struct dentry *, struct nameidata *); 1668extern void *page_follow_link_light(struct dentry *, struct nameidata *);
1671extern void page_put_link(struct dentry *, struct nameidata *, void *); 1669extern void page_put_link(struct dentry *, struct nameidata *, void *);
1670extern int __page_symlink(struct inode *inode, const char *symname, int len,
1671 gfp_t gfp_mask);
1672extern int page_symlink(struct inode *inode, const char *symname, int len); 1672extern int page_symlink(struct inode *inode, const char *symname, int len);
1673extern struct inode_operations page_symlink_inode_operations; 1673extern struct inode_operations page_symlink_inode_operations;
1674extern int generic_readlink(struct dentry *, char __user *, int); 1674extern int generic_readlink(struct dentry *, char __user *, int);