diff options
author | Andreas Gruenbacher <agruen@linbit.com> | 2011-03-14 12:27:45 -0400 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2011-10-14 10:47:53 -0400 |
commit | 6e849ce88cd63efc6650a1826d18ed742eb31999 (patch) | |
tree | a8cf7681d66c6a4b46c0aa803a74649d15958a1b /crypto | |
parent | 1b3bb47d526c63a845e3374d6272a67fbe20a468 (diff) |
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>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions