]> err.no Git - linux-2.6/commitdiff
[PATCH] sysctl: md: remove unnecessary insert_at_head flag
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 14 Feb 2007 08:33:32 +0000 (00:33 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 14 Feb 2007 16:09:55 +0000 (08:09 -0800)
The sysctls used by the md driver are have unique binary numbers so remove the
insert_at_head flag as it serves no useful purpose.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/md/md.c

index e85fa75a7912e5c17879e819e21b835b22bce942..ee86df8092a110f899a18ffcb04fce75b2956dbe 100644 (file)
@@ -5581,7 +5581,7 @@ static int __init md_init(void)
                            md_probe, NULL, NULL);
 
        register_reboot_notifier(&md_notifier);
-       raid_table_header = register_sysctl_table(raid_root_table, 1);
+       raid_table_header = register_sysctl_table(raid_root_table, 0);
 
        md_geninit();
        return (0);