]> err.no Git - linux-2.6/commit
[PATCH] rework reserved major handling
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 20 Feb 2007 21:57:48 +0000 (13:57 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 21 Feb 2007 01:10:13 +0000 (17:10 -0800)
commitb446b60e4eb5e5457120c4728ada871b1209c1d0
tree1fcff840a5cfb61399b9eac843d5b74e9e6b45e0
parentf4fa27c16ba9b6910c5b815e5c13a7e8249277f0
[PATCH] rework reserved major handling

Several people have reported failures in dynamic major device number handling
due to the recent changes in there to avoid handing out the local/experimental
majors.

Rolf reports that this is due to a gcc-4.1.0 bug.

The patch refactors that code a lot in an attempt to provoke the compiler into
behaving.

Cc: Rolf Eike Beer <eike-kernel@sf-tec.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
block/genhd.c
drivers/base/core.c
fs/char_dev.c
include/linux/kdev_t.h