[PATCH] register_blkdev(): don't hand out the LOCAL/EXPERIMENTAL majors
authorAndrew Morton <akpm@osdl.org>
Mon, 12 Feb 2007 08:51:44 +0000 (00:51 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 12 Feb 2007 17:48:27 +0000 (09:48 -0800)
commitfdf892be32d84a1745fa0aee5fc60517421b8038
tree35adb4e95219273ed681e0fa332a86b15cde731e
parent215122e1110f97a3f478829049b9840cf8fdde57
[PATCH] register_blkdev(): don't hand out the LOCAL/EXPERIMENTAL majors

As pointed out in http://bugzilla.kernel.org/show_bug.cgi?id=7922, dynamic
blockdev major allocation can hand out majors which LANANA has defined as
being for local/experimental use.

Cc: Torben Mathiasen <device@lanana.org>
Cc: Greg KH <greg@kroah.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Tomas Klas <tomas.klas@mepatek.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
block/genhd.c