Andreas Gruenbacher 6e849ce88c drbd: Get rid of P_MAX_CMD
Instead of artificially enlarging the command decoding arrays to
P_MAX_CMD entries, check if an index is within the valid range using the
ARRAY_SIZE() macro.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
2011-10-14 16:47:53 +02:00
..
2011-10-14 16:47:53 +02:00
2011-05-26 21:06:50 +02:00
2011-07-26 16:49:47 -07:00
2011-08-08 11:40:15 +02:00
2011-03-10 08:52:07 +01:00
2009-03-26 21:15:27 +01:00
2011-03-31 11:26:23 -03:00
2008-10-21 07:48:11 -04:00