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 bb20373d0b46..4658777b41cc 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 {
@@ -402,7 +402,7 @@ extern void __init inode_init_early(void);
402extern void __init files_init(unsigned long); 402extern void __init files_init(unsigned long);
403 403
404extern struct files_stat_struct files_stat; 404extern struct files_stat_struct files_stat;
405extern int get_max_files(void); 405extern unsigned long get_max_files(void);
406extern int sysctl_nr_open; 406extern int sysctl_nr_open;
407extern struct inodes_stat_t inodes_stat; 407extern struct inodes_stat_t inodes_stat;
408extern int leases_enable, lease_break_time; 408extern int leases_enable, lease_break_time;