]> git.neil.brown.name Git - mdadm.git/commit
Change behavior in find_free_devnm when wrapping around.
authorMike Lovell <mlovell@bluehost.com>
Wed, 18 May 2016 18:23:14 +0000 (12:23 -0600)
committerJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 3 Jun 2016 19:36:11 +0000 (15:36 -0400)
commit2e466cce45ac2397ea426a765c829c621901664b
tree188d2b9791b459485ebee2d3b7d5a14ba1a1fad7
parent13db17bd1fcd68b5e5618fcd051ff4137f1ea413
Change behavior in find_free_devnm when wrapping around.

Newer kernels don't allow for specifying an array larger than 511. This
makes it so find_free_devnm wraps to 511 instead of 2^20 - 1.

Signed-off-by: Mike Lovell <mlovell@bluehost.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
mdopen.c