X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=kernel%2Fsysctl.c;h=a43775c6646caa4fc9e9a9c3fb9b2700ab981cba;hb=589a9785ee3a7cb85f1dedc3dad1c9754c691880;hp=a13bbdaab47dc66fec2c0dd3da0b2c9898725bdf;hpb=81c383c9ba5fc1df58693468618b4b3ae515a7de;p=cascardo%2Flinux.git diff --git a/kernel/sysctl.c b/kernel/sysctl.c index a13bbdaab47d..a43775c6646c 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -65,6 +65,7 @@ #include #include #include +#include #include #include @@ -1838,6 +1839,14 @@ static struct ctl_table fs_table[] = { .mode = 0644, .proc_handler = proc_doulongvec_minmax, }, + { + .procname = "mount-max", + .data = &sysctl_mount_max, + .maxlen = sizeof(unsigned int), + .mode = 0644, + .proc_handler = proc_dointvec_minmax, + .extra1 = &one, + }, { } };