X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=kernel%2Fsysctl.c;h=86daaa26d1200c359f8f7c150e1ad5d7ddc1f70d;hb=8976b6fd7a0060f72e20d5cec833c03d50874cd1;hp=5e2ad5bf88e280fdbc83b61a380909555e121a71;hpb=3098a1801f8b92575a5cd69c77d9fa94ea504dde;p=linux-2.6 diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 5e2ad5bf88..86daaa26d1 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -1202,6 +1202,14 @@ static struct ctl_table fs_table[] = { .mode = 0644, .proc_handler = &proc_dointvec, }, + { + .ctl_name = CTL_UNNUMBERED, + .procname = "nr_open", + .data = &sysctl_nr_open, + .maxlen = sizeof(int), + .mode = 0644, + .proc_handler = &proc_dointvec, + }, { .ctl_name = FS_DENTRY, .procname = "dentry-state",