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.h8
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: */
36struct files_stat_struct { 36struct 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
42struct inodes_stat_t { 42struct inodes_stat_t {
@@ -400,7 +400,7 @@ extern void __init inode_init_early(void);
400extern void __init files_init(unsigned long); 400extern void __init files_init(unsigned long);
401 401
402extern struct files_stat_struct files_stat; 402extern struct files_stat_struct files_stat;
403extern int get_max_files(void); 403extern unsigned long get_max_files(void);
404extern int sysctl_nr_open; 404extern int sysctl_nr_open;
405extern struct inodes_stat_t inodes_stat; 405extern struct inodes_stat_t inodes_stat;
406extern int leases_enable, lease_break_time; 406extern int leases_enable, lease_break_time;