]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r210371:
authorjh <jh@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 18 Mar 2011 08:48:06 +0000 (08:48 +0000)
committerjh <jh@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 18 Mar 2011 08:48:06 +0000 (08:48 +0000)
commit62c825b41db703e27969eada6fc9f0fb03f0db0f
treeb6bbaa1a385ed6c0a5a8d864eb122888794df495
parent14322cb3bd3f95f6cd4205fcb0d183ae52fe7cd3
MFC r210371:

Convert md(4) to use alloc_unr(9) and alloc_unr_specific(9) for unit
number allocation. The old approach had some problems such as it allowed
an overflow to occur in the unit number calculation.

PR: kern/122288

git-svn-id: svn://svn.freebsd.org/base/stable/8@219728 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/md/md.c