From: Andreas Gruenbacher Date: Mon, 14 Mar 2011 16:27:45 +0000 (+0100) Subject: drbd: Get rid of P_MAX_CMD X-Git-Tag: v3.8-rc1~78^2~18^2~437 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e849ce88cd63efc6650a1826d18ed742eb31999;p=pandora-kernel.git 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 Signed-off-by: Lars Ellenberg --- Reading git-diff-tree failed