]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - kernel/sysctl.c
sysctl: Allow creating permanently empty directories that serve as mountpoints.
[karo-tx-linux.git] / kernel / sysctl.c
index 2082b1a88fb9a451a00a759379bec8d786c3bab7..c3eee4c6d6c1733593f2ca6fd9ac761649258865 100644 (file)
@@ -1531,12 +1531,6 @@ static struct ctl_table vm_table[] = {
        { }
 };
 
-#if defined(CONFIG_BINFMT_MISC) || defined(CONFIG_BINFMT_MISC_MODULE)
-static struct ctl_table binfmt_misc_table[] = {
-       { }
-};
-#endif
-
 static struct ctl_table fs_table[] = {
        {
                .procname       = "inode-nr",
@@ -1690,7 +1684,7 @@ static struct ctl_table fs_table[] = {
        {
                .procname       = "binfmt_misc",
                .mode           = 0555,
-               .child          = binfmt_misc_table,
+               .child          = sysctl_mount_point,
        },
 #endif
        {