提交 208367ee 编写于 作者: E Eric W. Biederman 提交者: Linus Torvalds

[PATCH] sysctl: cdrom: remove unnecessary insert_at_head flag

With unique binary sysctl numbers setting insert_at_head to override other
sysctl entries is pointless.
Signed-off-by: NEric W. Biederman <ebiederm@xmission.com>
Acked-by: NJames Bottomley <James.Bottomley@SteelEye.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 bfe1a1e1
......@@ -3553,7 +3553,7 @@ static void cdrom_sysctl_register(void)
if (initialized == 1)
return;
cdrom_sysctl_header = register_sysctl_table(cdrom_root_table, 1);
cdrom_sysctl_header = register_sysctl_table(cdrom_root_table, 0);
if (cdrom_root_table->ctl_name && cdrom_root_table->child->de)
cdrom_root_table->child->de->owner = THIS_MODULE;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册