X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=kernel%2Fsysctl.c;h=8b0542861c4256af940a588f06323f0459962d62;hb=2ea023ac3871ef24b61ab29e886bf5e5ce84e6a7;hp=d2f8f2d2332f7fb35163ee632324bf1ffcc585f4;hpb=26c815656d14b133b04936f384f5a55fceb2e835;p=firefly-linux-kernel-4.4.55.git diff --git a/kernel/sysctl.c b/kernel/sysctl.c index d2f8f2d2332f..8b0542861c42 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -65,6 +65,7 @@ #include #include #include +#include #include #include @@ -1853,6 +1854,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, + }, { } };