X-Git-Url: https://bbs.cooldavid.org/git/?a=blobdiff_plain;f=include%2Flinux%2Ffs.h;h=4658777b41cc24d7a6cca8465cdbf72399e1fed5;hb=31453a9764f7e2a72a6e2c502ace586e2663a68c;hp=bb20373d0b46c91d0c132c389f7e5f3eaf21d8bc;hpb=f9ba5375a8aae4aeea6be15df77e24707a429812;p=net-next-2.6.git diff --git a/include/linux/fs.h b/include/linux/fs.h index bb20373d0b4..4658777b41c 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -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;