diff options
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 4f34ff6e5558..b2cdb6bc8287 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -34,9 +34,9 @@ | |||
34 | 34 | ||
35 | /* And dynamically-tunable limits and defaults: */ | 35 | /* And dynamically-tunable limits and defaults: */ |
36 | struct files_stat_struct { | 36 | struct files_stat_struct { |
37 | int nr_files; /* read only */ | 37 | unsigned long nr_files; /* read only */ |
38 | int nr_free_files; /* read only */ | 38 | unsigned long nr_free_files; /* read only */ |
39 | int max_files; /* tunable */ | 39 | unsigned long max_files; /* tunable */ |
40 | }; | 40 | }; |
41 | 41 | ||
42 | struct inodes_stat_t { | 42 | struct inodes_stat_t { |
@@ -400,7 +400,7 @@ extern void __init inode_init_early(void); | |||
400 | extern void __init files_init(unsigned long); | 400 | extern void __init files_init(unsigned long); |
401 | 401 | ||
402 | extern struct files_stat_struct files_stat; | 402 | extern struct files_stat_struct files_stat; |
403 | extern int get_max_files(void); | 403 | extern unsigned long get_max_files(void); |
404 | extern int sysctl_nr_open; | 404 | extern int sysctl_nr_open; |
405 | extern struct inodes_stat_t inodes_stat; | 405 | extern struct inodes_stat_t inodes_stat; |
406 | extern int leases_enable, lease_break_time; | 406 | extern int leases_enable, lease_break_time; |