Commit 208367eeec8d6f6fcee1a0672af2149aeee7b658
Committed by
Linus Torvalds
1 parent
bfe1a1e160
Exists in
master
and in
20 other branches
[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 <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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
drivers/cdrom/cdrom.c
... | ... | @@ -3553,7 +3553,7 @@ |
3553 | 3553 | if (initialized == 1) |
3554 | 3554 | return; |
3555 | 3555 | |
3556 | - cdrom_sysctl_header = register_sysctl_table(cdrom_root_table, 1); | |
3556 | + cdrom_sysctl_header = register_sysctl_table(cdrom_root_table, 0); | |
3557 | 3557 | if (cdrom_root_table->ctl_name && cdrom_root_table->child->de) |
3558 | 3558 | cdrom_root_table->child->de->owner = THIS_MODULE; |
3559 | 3559 |