drbd: add missing drbd command names to avoid <NULL> in error messages
authorLars Ellenberg <lars.ellenberg@linbit.com>
Wed, 3 Mar 2010 01:44:11 +0000 (02:44 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 11 Mar 2010 15:04:05 +0000 (16:04 +0100)
commitc42b6cf4b38c9726d4b46c48d04197c9ca74d773
tree12f1f314a38e582903cad09eb102ad6336030449
parent4589d7f829951c1713ef5a4ad1a9bb563da329b5
drbd: add missing drbd command names to avoid <NULL> in error messages

cmdname() should map command number to its human readable
representation. The string table was incomplete, though.

Maybe rather do a switch() block, and let the compiler help us
to keep it complete?

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_int.h