]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/fs.h
Merge branch 'akpm-incoming-1'
[net-next-2.6.git] / include / linux / fs.h
index bb20373d0b46c91d0c132c389f7e5f3eaf21d8bc..4658777b41cc24d7a6cca8465cdbf72399e1fed5 100644 (file)
@@ -34,9 +34,9 @@
 
 /* And dynamically-tunable limits and defaults: */
 struct files_stat_struct {
-       int nr_files;           /* read only */
-       int nr_free_files;      /* read only */
-       int max_files;          /* tunable */
+       unsigned long nr_files;         /* read only */
+       unsigned long nr_free_files;    /* read only */
+       unsigned long max_files;                /* tunable */
 };
 
 struct inodes_stat_t {
@@ -402,7 +402,7 @@ extern void __init inode_init_early(void);
 extern void __init files_init(unsigned long);
 
 extern struct files_stat_struct files_stat;
-extern int get_max_files(void);
+extern unsigned long get_max_files(void);
 extern int sysctl_nr_open;
 extern struct inodes_stat_t inodes_stat;
 extern int leases_enable, lease_break_time;