summaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r--include/linux/fs.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 8667c79db..d1ee10406 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -45,7 +45,6 @@ struct poll_table_struct;
#define BLOCK_SIZE (1<<BLOCK_SIZE_BITS)
/* And dynamically-tunable limits and defaults: */
-extern int max_inodes;
extern int max_files, nr_files, nr_free_files;
extern int max_super_blocks, nr_super_blocks;
@@ -270,6 +269,7 @@ void init_buffer(struct buffer_head *, bh_end_io_t *, void *);
#include <linux/adfs_fs_i.h>
#include <linux/qnx4_fs_i.h>
#include <linux/udf_fs_i.h>
+#include <linux/ncp_fs_i.h>
/*
* Attribute flags. These should be or-ed together to figure out what
@@ -383,6 +383,7 @@ struct inode {
struct adfs_inode_info adfs_i;
struct qnx4_inode_info qnx4_i;
struct udf_inode_info udf_i;
+ struct ncp_inode_info ncpfs_i;
struct socket socket_i;
void *generic_ip;
} u;
@@ -513,6 +514,7 @@ extern int fasync_helper(int, struct file *, int, struct fasync_struct **);
#include <linux/adfs_fs_sb.h>
#include <linux/qnx4_fs_sb.h>
#include <linux/udf_fs_sb.h>
+#include <linux/ncp_fs_sb.h>
extern struct list_head super_blocks;
@@ -558,6 +560,7 @@ struct super_block {
struct adfs_sb_info adfs_sb;
struct qnx4_sb_info qnx4_sb;
struct udf_sb_info udf_sb;
+ struct ncp_sb_info ncpfs_sb;
void *generic_sbp;
} u;
/*
@@ -724,7 +727,7 @@ extern char * getname(const char *);
#define __getname() ((char *) __get_free_page(GFP_KERNEL))
#define putname(name) free_page((unsigned long)(name))
-extern void kill_fasync(struct fasync_struct *, int);
+extern void kill_fasync(struct fasync_struct *, int, int);
extern int register_blkdev(unsigned int, const char *, struct file_operations *);
extern int unregister_blkdev(unsigned int, const char *);
extern int blkdev_open(struct inode *, struct file *);