]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - kernel/sysctl.c
next-20160111/aio
[karo-tx-linux.git] / kernel / sysctl.c
index f5102fabef7f525f6c79d66756336c262e465caa..f930ec2974f8e2143b30f85cfe07fb6084e5037a 100644 (file)
@@ -1710,6 +1710,15 @@ static struct ctl_table fs_table[] = {
                .mode           = 0644,
                .proc_handler   = proc_doulongvec_minmax,
        },
+#if IS_ENABLED(CONFIG_AIO_THREAD)
+       {
+               .procname       = "aio-auto-threads",
+               .data           = &aio_auto_threads,
+               .maxlen         = sizeof(aio_auto_threads),
+               .mode           = 0644,
+               .proc_handler   = proc_doulongvec_minmax,
+       },
+#endif
 #endif /* CONFIG_AIO */
 #ifdef CONFIG_INOTIFY_USER
        {