From: Eric W. Biederman Date: Wed, 14 Feb 2007 08:33:34 +0000 (-0800) Subject: [PATCH] sysctl: cdrom: remove unnecessary insert_at_head flag X-Git-Tag: v2.6.21-rc1~229 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=208367eeec8d6f6fcee1a0672af2149aeee7b658;p=linux-2.6 [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: Eric W. Biederman Acked-by: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/cdrom/cdrom.c b/drivers/cdrom/cdrom.c index 3105dddf59..f0a68017a1 100644 --- a/drivers/cdrom/cdrom.c +++ b/drivers/cdrom/cdrom.c @@ -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;