[PATCH] sysctl: cdrom: remove unnecessary insert_at_head flag
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 14 Feb 2007 08:33:34 +0000 (00:33 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 14 Feb 2007 16:09:56 +0000 (08:09 -0800)
With unique binary sysctl numbers setting insert_at_head to override other
sysctl entries is pointless.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Acked-by: James Bottomley <James.Bottomley@SteelEye.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/cdrom/cdrom.c

index 3105dddf59f19a9409807370ebfce41b7a9167f1..f0a68017a17589fe25a0822652bd08ea9ccef794 100644 (file)
@@ -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;