mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-18 06:14:27 +00:00
Remove 256 unit limit, there is no evil minor number encoding to
deal with any more. Spotted by: "Darren Freestone" <df@cops.org>
This commit is contained in:
parent
76e16c7155
commit
8198a1a472
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=116682
|
@ -650,8 +650,6 @@ mdnew(int unit)
|
|||
}
|
||||
if (unit == -1)
|
||||
unit = max + 1;
|
||||
if (unit > 255)
|
||||
return (NULL);
|
||||
sc = (struct md_s *)malloc(sizeof *sc, M_MD, M_WAITOK | M_ZERO);
|
||||
sc->unit = unit;
|
||||
bioq_init(&sc->bio_queue);
|
||||
|
|
Loading…
Reference in a new issue