aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/dcache.c2
-rw-r--r--fs/drop_caches.c2
-rw-r--r--fs/eventpoll.c2
-rw-r--r--fs/file_table.c4
-rw-r--r--fs/inode.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/fs/dcache.c b/fs/dcache.c
index be2bea834bf4..1792d6075b4f 100644
--- a/fs/dcache.c
+++ b/fs/dcache.c
@@ -150,7 +150,7 @@ static long get_nr_dentry_unused(void)
150 return sum < 0 ? 0 : sum; 150 return sum < 0 ? 0 : sum;
151} 151}
152 152
153int proc_nr_dentry(ctl_table *table, int write, void __user *buffer, 153int proc_nr_dentry(struct ctl_table *table, int write, void __user *buffer,
154 size_t *lenp, loff_t *ppos) 154 size_t *lenp, loff_t *ppos)
155{ 155{
156 dentry_stat.nr_dentry = get_nr_dentry(); 156 dentry_stat.nr_dentry = get_nr_dentry();
diff --git a/fs/drop_caches.c b/fs/drop_caches.c
index 9280202e488c..1de7294aad20 100644
--- a/fs/drop_caches.c
+++ b/fs/drop_caches.c
@@ -50,7 +50,7 @@ static void drop_slab(void)
50 } while (nr_objects > 10); 50 } while (nr_objects > 10);
51} 51}
52 52
53int drop_caches_sysctl_handler(ctl_table *table, int write, 53int drop_caches_sysctl_handler(struct ctl_table *table, int write,
54 void __user *buffer, size_t *length, loff_t *ppos) 54 void __user *buffer, size_t *length, loff_t *ppos)
55{ 55{
56 int ret; 56 int ret;
diff --git a/fs/eventpoll.c b/fs/eventpoll.c
index af903128891c..b73e0621ce9e 100644
--- a/fs/eventpoll.c
+++ b/fs/eventpoll.c
@@ -293,7 +293,7 @@ static LIST_HEAD(tfile_check_list);
293static long zero; 293static long zero;
294static long long_max = LONG_MAX; 294static long long_max = LONG_MAX;
295 295
296ctl_table epoll_table[] = { 296struct ctl_table epoll_table[] = {
297 { 297 {
298 .procname = "max_user_watches", 298 .procname = "max_user_watches",
299 .data = &max_user_watches, 299 .data = &max_user_watches,
diff --git a/fs/file_table.c b/fs/file_table.c
index a374f5033e97..40bf4660f0a3 100644
--- a/fs/file_table.c
+++ b/fs/file_table.c
@@ -76,14 +76,14 @@ EXPORT_SYMBOL_GPL(get_max_files);
76 * Handle nr_files sysctl 76 * Handle nr_files sysctl
77 */ 77 */
78#if defined(CONFIG_SYSCTL) && defined(CONFIG_PROC_FS) 78#if defined(CONFIG_SYSCTL) && defined(CONFIG_PROC_FS)
79int proc_nr_files(ctl_table *table, int write, 79int proc_nr_files(struct ctl_table *table, int write,
80 void __user *buffer, size_t *lenp, loff_t *ppos) 80 void __user *buffer, size_t *lenp, loff_t *ppos)
81{ 81{
82 files_stat.nr_files = get_nr_files(); 82 files_stat.nr_files = get_nr_files();
83 return proc_doulongvec_minmax(table, write, buffer, lenp, ppos); 83 return proc_doulongvec_minmax(table, write, buffer, lenp, ppos);
84} 84}
85#else 85#else
86int proc_nr_files(ctl_table *table, int write, 86int proc_nr_files(struct ctl_table *table, int write,
87 void __user *buffer, size_t *lenp, loff_t *ppos) 87 void __user *buffer, size_t *lenp, loff_t *ppos)
88{ 88{
89 return -ENOSYS; 89 return -ENOSYS;
diff --git a/fs/inode.c b/fs/inode.c
index f96d2a6f88cc..2feb9b69f1be 100644
--- a/fs/inode.c
+++ b/fs/inode.c
@@ -105,7 +105,7 @@ long get_nr_dirty_inodes(void)
105 * Handle nr_inode sysctl 105 * Handle nr_inode sysctl
106 */ 106 */
107#ifdef CONFIG_SYSCTL 107#ifdef CONFIG_SYSCTL
108int proc_nr_inodes(ctl_table *table, int write, 108int proc_nr_inodes(struct ctl_table *table, int write,
109 void __user *buffer, size_t *lenp, loff_t *ppos) 109 void __user *buffer, size_t *lenp, loff_t *ppos)
110{ 110{
111 inodes_stat.nr_inodes = get_nr_inodes(); 111 inodes_stat.nr_inodes = get_nr_inodes();