drbd: Fix the maximum accepted minor device number
authorAndreas Gruenbacher <agruen@linbit.com>
Wed, 13 Jul 2011 11:40:30 +0000 (13:40 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:57:54 +0000 (16:57 +0100)
The maximum minor device number allowed by the kernel is (1<<20 - 1).  Reject
device numbers higher than that to earlier catch possible errors.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>

No differences found