Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 47888
b: refs/heads/master
c: fdf892b
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Feb 12, 2007
1 parent 76f3dc1 commit 9c47cc7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 215122e1110f97a3f478829049b9840cf8fdde57
refs/heads/master: fdf892be32d84a1745fa0aee5fc60517421b8038
8 changes: 8 additions & 0 deletions trunk/block/genhd.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,14 @@ int register_blkdev(unsigned int major, const char *name)
/* temporary */
if (major == 0) {
for (index = ARRAY_SIZE(major_names)-1; index > 0; index--) {
/*
* Disallow the LANANA-assigned LOCAL/EXPERIMENTAL
* majors
*/
if ((60 <= index && index <= 63) ||
(120 <= index && index <= 127) ||
(240 <= index && index <= 254))
continue;
if (major_names[index] == NULL)
break;
}
Expand Down

0 comments on commit 9c47cc7

Please sign in to comment.