summaryrefslogtreecommitdiffstats
path: root/fs/dcache.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-06-06 23:38:05 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-07 01:08:16 +0200
commit1f7e0616cd4f5df594595153c3a01bbb16072380 (patch)
tree891fc7351c4bc412a08817e2ea9beb862815eeb9 /fs/dcache.c
parentntfs: convert use of typedef ctl_table to struct ctl_table (diff)
downloadlinux-1f7e0616cd4f5df594595153c3a01bbb16072380.tar.xz
linux-1f7e0616cd4f5df594595153c3a01bbb16072380.zip
fs: convert use of typedef ctl_table to struct ctl_table
This typedef is unnecessary and should just be removed. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/dcache.c')
-rw-r--r--fs/dcache.c2
1 files changed, 1 insertions, 1 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)
return sum < 0 ? 0 : sum;
}
-int proc_nr_dentry(ctl_table *table, int write, void __user *buffer,
+int proc_nr_dentry(struct ctl_table *table, int write, void __user *buffer,
size_t *lenp, loff_t *ppos)
{
dentry_stat.nr_dentry = get_nr_dentry();