X-Git-Url: https://git.openfabrics.org/?p=~shefty%2Frdma-dev.git;a=blobdiff_plain;f=kernel%2Fsysctl.c;h=c33a1edb799fda6db2e16fdf9d1d0401a9f78278;hp=48d9d689498fbaa394e4d6ec8f4403c90767d7f1;hb=426e1f5cec4821945642230218876b0e89aafab1;hpb=9e5fca251f44832cb996961048ea977f80faf6ea diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 48d9d689498..c33a1edb799 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -1338,14 +1338,14 @@ static struct ctl_table fs_table[] = { .data = &inodes_stat, .maxlen = 2*sizeof(int), .mode = 0444, - .proc_handler = proc_dointvec, + .proc_handler = proc_nr_inodes, }, { .procname = "inode-state", .data = &inodes_stat, .maxlen = 7*sizeof(int), .mode = 0444, - .proc_handler = proc_dointvec, + .proc_handler = proc_nr_inodes, }, { .procname = "file-nr", @@ -1375,7 +1375,7 @@ static struct ctl_table fs_table[] = { .data = &dentry_stat, .maxlen = 6*sizeof(int), .mode = 0444, - .proc_handler = proc_dointvec, + .proc_handler = proc_nr_dentry, }, { .procname = "overflowuid",